]> gitweb.michael.orlitzky.com - octave.git/log
octave.git
11 years agoFix function name in vanilla_cgm.m.
Michael Orlitzky [Wed, 20 Mar 2013 05:15:50 +0000 (01:15 -0400)]
Fix function name in vanilla_cgm.m.
Remove unused vector in vanilla_cgm().

11 years agoMove conjugate_gradient_method.m to vanilla_cgm.m.
Michael Orlitzky [Wed, 20 Mar 2013 04:57:16 +0000 (00:57 -0400)]
Move conjugate_gradient_method.m to vanilla_cgm.m.
Implement conjugate_gradient_method() in terms of the preconditioned CGM.
Add the slow, simple preconditioned CGM as simple_preconditioned_cgm().

11 years agoRevert "Commit a simpler version of the preconditioned CGM."
Michael Orlitzky [Wed, 20 Mar 2013 04:26:44 +0000 (00:26 -0400)]
Revert "Commit a simpler version of the preconditioned CGM."

This reverts commit af2083885af78b1290c21f2852c6fdba25820918.

11 years agoCommit a simpler version of the preconditioned CGM.
Michael Orlitzky [Wed, 20 Mar 2013 04:11:23 +0000 (00:11 -0400)]
Commit a simpler version of the preconditioned CGM.

11 years agoAdd the first working version of the preconditioned CGM.
Michael Orlitzky [Wed, 20 Mar 2013 03:45:05 +0000 (23:45 -0400)]
Add the first working version of the preconditioned CGM.

11 years agoPass max_iterations to the CGM test.
Michael Orlitzky [Wed, 20 Mar 2013 01:45:11 +0000 (21:45 -0400)]
Pass max_iterations to the CGM test.

11 years agoAllow CGM to take a maximum number of iterations, return the amount needed.
Michael Orlitzky [Tue, 19 Mar 2013 13:28:17 +0000 (09:28 -0400)]
Allow CGM to take a maximum number of iterations, return the amount needed.

11 years agoAdd performance notes to steepest descent stuff.
Michael Orlitzky [Tue, 19 Mar 2013 13:27:56 +0000 (09:27 -0400)]
Add performance notes to steepest descent stuff.

11 years agoAdd first implementation of the steepest descent method.
Michael Orlitzky [Mon, 18 Mar 2013 02:21:31 +0000 (22:21 -0400)]
Add first implementation of the steepest descent method.

11 years agoAdd step_size_positive_definite().
Michael Orlitzky [Mon, 18 Mar 2013 02:21:04 +0000 (22:21 -0400)]
Add step_size_positive_definite().

11 years agoReplace Octave-only comments with MATLAB-compatible ones.
Michael Orlitzky [Mon, 18 Mar 2013 02:18:03 +0000 (22:18 -0400)]
Replace Octave-only comments with MATLAB-compatible ones.

11 years agoAdd trigonometric functions and their tests.
Michael Orlitzky [Thu, 14 Mar 2013 04:27:32 +0000 (00:27 -0400)]
Add trigonometric functions and their tests.

11 years agoTwo minor optimizations to test functions.
Michael Orlitzky [Thu, 14 Mar 2013 04:22:03 +0000 (00:22 -0400)]
Two minor optimizations to test functions.

11 years agoAdd the Himmelblau function, as defined in Applied Nonlinear Programming.
Michael Orlitzky [Thu, 14 Mar 2013 01:37:46 +0000 (21:37 -0400)]
Add the Himmelblau function, as defined in Applied Nonlinear Programming.

11 years agoAdd first implementation of the conjugate gradient method and its tests.
Michael Orlitzky [Wed, 13 Mar 2013 18:05:21 +0000 (14:05 -0400)]
Add first implementation of the conjugate gradient method and its tests.

11 years agoAdd extended_powell functions and their tests.
Michael Orlitzky [Wed, 13 Mar 2013 18:04:55 +0000 (14:04 -0400)]
Add extended_powell functions and their tests.

11 years agoAdd a missing semicolon.
Michael Orlitzky [Sun, 10 Mar 2013 05:23:59 +0000 (00:23 -0500)]
Add a missing semicolon.

11 years agoAdd some step length functions, untested.
Michael Orlitzky [Sat, 9 Mar 2013 01:51:40 +0000 (20:51 -0500)]
Add some step length functions, untested.

11 years agoAdd extended_rosenbrock_hessian1() and its tests.
Michael Orlitzky [Fri, 8 Mar 2013 15:16:29 +0000 (10:16 -0500)]
Add extended_rosenbrock_hessian1() and its tests.

11 years agoAdd extended_rosenbrock_gradient1() and its tests.
Michael Orlitzky [Fri, 8 Mar 2013 15:12:21 +0000 (10:12 -0500)]
Add extended_rosenbrock_gradient1() and its tests.

11 years agoAdd extended_rosenbrock1() and its tests.
Michael Orlitzky [Fri, 8 Mar 2013 15:01:16 +0000 (10:01 -0500)]
Add extended_rosenbrock1() and its tests.

11 years agoAdd the Rosenbrock functions and their tests.
Michael Orlitzky [Fri, 8 Mar 2013 04:18:47 +0000 (23:18 -0500)]
Add the Rosenbrock functions and their tests.

11 years agoAdd the powell_hessian() and powell_hessian1() functions.
Michael Orlitzky [Thu, 7 Mar 2013 01:28:49 +0000 (20:28 -0500)]
Add the powell_hessian() and powell_hessian1() functions.

11 years agoAdd powell_gradient(), powell_gradient1() and their tests.
Michael Orlitzky [Thu, 7 Mar 2013 01:16:01 +0000 (20:16 -0500)]
Add powell_gradient(), powell_gradient1() and their tests.

11 years agoWord-wrap a comment.
Michael Orlitzky [Thu, 7 Mar 2013 01:15:41 +0000 (20:15 -0500)]
Word-wrap a comment.
Remove unused variable.

11 years agoAdd powell(), powell1() and their tests.
Michael Orlitzky [Thu, 7 Mar 2013 01:05:09 +0000 (20:05 -0500)]
Add powell(), powell1() and their tests.

11 years agoAdd tests for wood1().
Michael Orlitzky [Thu, 7 Mar 2013 01:04:53 +0000 (20:04 -0500)]
Add tests for wood1().

11 years agoRemove an unused line in wood_tests.m.
Michael Orlitzky [Thu, 7 Mar 2013 01:04:39 +0000 (20:04 -0500)]
Remove an unused line in wood_tests.m.

11 years agoAdd length checks to the wood functions, and fix wood_hessian1().
Michael Orlitzky [Thu, 7 Mar 2013 01:04:11 +0000 (20:04 -0500)]
Add length checks to the wood functions, and fix wood_hessian1().

11 years agoAdd an octaverc which modifies the load path and improved MATLAB compatibility.
Michael Orlitzky [Wed, 6 Mar 2013 22:13:02 +0000 (17:13 -0500)]
Add an octaverc which modifies the load path and improved MATLAB compatibility.
Update a comment in run-tests.m.

11 years agoAdd the Wood() test function and some tests.
Michael Orlitzky [Wed, 6 Mar 2013 22:12:43 +0000 (17:12 -0500)]
Add the Wood() test function and some tests.

11 years agoMove even/odd into the misc subdirectory.
Michael Orlitzky [Wed, 6 Mar 2013 22:12:23 +0000 (17:12 -0500)]
Move even/odd into the misc subdirectory.

11 years agoAdd construct() and its tests.
Michael Orlitzky [Sun, 3 Mar 2013 23:13:24 +0000 (18:13 -0500)]
Add construct() and its tests.

11 years agoAdd OUTPUT to tridiagonal docstring.
Michael Orlitzky [Sun, 3 Mar 2013 15:42:18 +0000 (10:42 -0500)]
Add OUTPUT to tridiagonal docstring.

11 years agoAdd tridiagonal() and its tests.
Michael Orlitzky [Sun, 3 Mar 2013 15:36:41 +0000 (10:36 -0500)]
Add tridiagonal() and its tests.

11 years agoAdd is_positive_definite() and its tests.
Michael Orlitzky [Fri, 1 Mar 2013 16:41:13 +0000 (11:41 -0500)]
Add is_positive_definite() and its tests.

11 years agoAdd permutation_matrices() and its tests.
Michael Orlitzky [Mon, 25 Feb 2013 15:24:40 +0000 (10:24 -0500)]
Add permutation_matrices() and its tests.

11 years agoAdd envelope() and its tests.
Michael Orlitzky [Mon, 25 Feb 2013 15:09:03 +0000 (10:09 -0500)]
Add envelope() and its tests.

11 years agoAdd diffusion_matrix_sparse() and its tests.
Michael Orlitzky [Mon, 25 Feb 2013 15:03:55 +0000 (10:03 -0500)]
Add diffusion_matrix_sparse() and its tests.

11 years agoAdd the is_upper_triangular() function and its tests.
Michael Orlitzky [Mon, 25 Feb 2013 14:35:00 +0000 (09:35 -0500)]
Add the is_upper_triangular() function and its tests.

11 years agoFix a comment.
Michael Orlitzky [Mon, 25 Feb 2013 14:34:45 +0000 (09:34 -0500)]
Fix a comment.

11 years agoAdd advection matrix_sparse() and a test for it.
Michael Orlitzky [Thu, 7 Feb 2013 00:38:31 +0000 (19:38 -0500)]
Add advection matrix_sparse() and a test for it.

11 years agoAdd the advection_matrix() function and a test for it.
Michael Orlitzky [Wed, 6 Feb 2013 19:47:35 +0000 (14:47 -0500)]
Add the advection_matrix() function and a test for it.

11 years agoAdd the central_difference function and a test for it.
Michael Orlitzky [Wed, 6 Feb 2013 19:47:19 +0000 (14:47 -0500)]
Add the central_difference function and a test for it.

11 years agoFix return value name in forward_euler.m.
Michael Orlitzky [Wed, 6 Feb 2013 18:44:59 +0000 (13:44 -0500)]
Fix return value name in forward_euler.m.

11 years agoRemove old homework code from divided_difference.m.
Michael Orlitzky [Wed, 6 Feb 2013 17:00:28 +0000 (12:00 -0500)]
Remove old homework code from divided_difference.m.

11 years agoMove all of the tests into a subdirectory.
Michael Orlitzky [Wed, 6 Feb 2013 17:00:06 +0000 (12:00 -0500)]
Move all of the tests into a subdirectory.
Move the unit_test code into a subdirectory.

11 years agoUse the analytic solution Y(x) to compute y1 in problem6_method.
Michael Orlitzky [Tue, 18 Dec 2012 03:26:40 +0000 (22:26 -0500)]
Use the analytic solution Y(x) to compute y1 in problem6_method.
Fix a bug (bad fraction) in problem6_method1.
Remove the partition_delta function; it's stupid in light of [a : delta : b].

11 years agoDelete trailing whitespace.
Michael Orlitzky [Tue, 18 Dec 2012 02:25:32 +0000 (21:25 -0500)]
Delete trailing whitespace.

11 years agoSplit the partition function into partition/partition_delta.
Michael Orlitzky [Mon, 17 Dec 2012 20:25:32 +0000 (15:25 -0500)]
Split the partition function into partition/partition_delta.

11 years agoUpdate the poisson_matrix test with negated values.
Michael Orlitzky [Mon, 17 Dec 2012 15:29:59 +0000 (10:29 -0500)]
Update the poisson_matrix test with negated values.

11 years agoAdd the forward_euler1 function and a test for it.
Michael Orlitzky [Mon, 17 Dec 2012 15:19:15 +0000 (10:19 -0500)]
Add the forward_euler1 function and a test for it.

11 years agoWhitespace cleanup.
Michael Orlitzky [Mon, 17 Dec 2012 15:18:51 +0000 (10:18 -0500)]
Whitespace cleanup.

12 years agoAdd the code for problem 5iii.
Michael Orlitzky [Thu, 15 Nov 2012 17:11:20 +0000 (12:11 -0500)]
Add the code for problem 5iii.
Minor fixes to octave code.
Update the makefile to execute octave scripts.

12 years agoAdd the c_norm function and l2_project functions.
Michael Orlitzky [Thu, 15 Nov 2012 06:49:44 +0000 (01:49 -0500)]
Add the c_norm function and l2_project functions.
Fix legendre_p and legendre_p_tilde to work with vectors.

12 years agoAdd semicolons.
Michael Orlitzky [Thu, 15 Nov 2012 06:48:10 +0000 (01:48 -0500)]
Add semicolons.

12 years agoAdd docs for the c_inner_product function.
Michael Orlitzky [Thu, 15 Nov 2012 01:36:09 +0000 (20:36 -0500)]
Add docs for the c_inner_product function.

12 years agoAdd the Octave c_inner_product function.
Michael Orlitzky [Wed, 14 Nov 2012 22:27:04 +0000 (17:27 -0500)]
Add the Octave c_inner_product function.

12 years agoAdd some octave code to compute (scaled and unscaled) legendre polynomials.
Michael Orlitzky [Wed, 14 Nov 2012 20:48:23 +0000 (15:48 -0500)]
Add some octave code to compute (scaled and unscaled) legendre polynomials.

12 years agoNegate the poisson matrix during its generation.
Michael Orlitzky [Tue, 16 Oct 2012 02:16:13 +0000 (22:16 -0400)]
Negate the poisson matrix during its generation.

12 years agoAdd Newton's method and some tests.
Michael Orlitzky [Tue, 16 Oct 2012 01:22:54 +0000 (21:22 -0400)]
Add Newton's method and some tests.

12 years agoClean up a comment.
Michael Orlitzky [Tue, 16 Oct 2012 01:22:42 +0000 (21:22 -0400)]
Clean up a comment.

12 years agoAdd the fixed point method and some tests.
Michael Orlitzky [Mon, 15 Oct 2012 20:02:25 +0000 (16:02 -0400)]
Add the fixed point method and some tests.

12 years agoAdd a test for the poisson_matrix function.
Michael Orlitzky [Mon, 15 Oct 2012 19:07:18 +0000 (15:07 -0400)]
Add a test for the poisson_matrix function.

12 years agoFactor out the poisson_matrix function.
Michael Orlitzky [Mon, 15 Oct 2012 19:00:55 +0000 (15:00 -0400)]
Factor out the poisson_matrix function.

12 years agoMove several functions out of the homework1/src directory and into the top-level...
Michael Orlitzky [Mon, 15 Oct 2012 18:47:03 +0000 (14:47 -0400)]
Move several functions out of the homework1/src directory and into the top-level octave directory.

12 years agoCheck for existence of the include path before including it in divided_difference.m.
Michael Orlitzky [Sun, 16 Sep 2012 05:28:45 +0000 (01:28 -0400)]
Check for existence of the include path before including it in divided_difference.m.
Rename the unit test script.
Check for satisfaction of all elements in unit_test_equals.m.

12 years agoAdd unit test framework and sample script.
Michael Orlitzky [Sun, 16 Sep 2012 05:00:04 +0000 (01:00 -0400)]
Add unit test framework and sample script.

12 years agoMove homework #1's octave code into its directory.
Michael Orlitzky [Sun, 16 Sep 2012 04:59:16 +0000 (00:59 -0400)]
Move homework #1's octave code into its directory.
Add the homework #1 directory to the divided_difference() load path.

12 years agoFirst shot at a solve_poisson function.
Michael Orlitzky [Sat, 15 Sep 2012 03:52:13 +0000 (23:52 -0400)]
First shot at a solve_poisson function.

12 years agoRewrite the forward_euler() function to return a vector of coefficients rather than...
Michael Orlitzky [Sat, 15 Sep 2012 03:51:30 +0000 (23:51 -0400)]
Rewrite the forward_euler() function to return a vector of coefficients rather than assuming that we will really have a function to evaluate.

12 years agoAdd the divided_difference_coefficients() function and reimplement divided_difference...
Michael Orlitzky [Sat, 15 Sep 2012 03:50:50 +0000 (23:50 -0400)]
Add the divided_difference_coefficients() function and reimplement divided_difference() in terms of that.

12 years agoSquelch output from partition().
Michael Orlitzky [Sat, 15 Sep 2012 03:50:11 +0000 (23:50 -0400)]
Squelch output from partition().

12 years agoAdd the forward_euler function.
Michael Orlitzky [Fri, 14 Sep 2012 23:45:14 +0000 (19:45 -0400)]
Add the forward_euler function.

12 years agoClean up the divided_difference function.
Michael Orlitzky [Fri, 14 Sep 2012 23:44:43 +0000 (19:44 -0400)]
Clean up the divided_difference function.

12 years agoAdd even/odd Octave functions.
Michael Orlitzky [Fri, 14 Sep 2012 23:44:26 +0000 (19:44 -0400)]
Add even/odd Octave functions.

12 years agoUpdate docs for has_root().
Michael Orlitzky [Fri, 14 Sep 2012 19:38:13 +0000 (15:38 -0400)]
Update docs for has_root().

12 years agoReturn the number of bisections from the bisect() function.
Michael Orlitzky [Fri, 14 Sep 2012 19:35:27 +0000 (15:35 -0400)]
Return the number of bisections from the bisect() function.
Update bisect() docs.

12 years agoAdd the partition function.
Michael Orlitzky [Fri, 14 Sep 2012 14:28:47 +0000 (10:28 -0400)]
Add the partition function.
Remove shebang lines from non-executable files.
Begin the solve_poisson function.

12 years agoAdd the divided_difference Octave function.
Michael Orlitzky [Fri, 14 Sep 2012 02:54:15 +0000 (22:54 -0400)]
Add the divided_difference Octave function.

12 years agoAdd two initial octave functions, has_root and bisect.
Michael Orlitzky [Thu, 13 Sep 2012 18:00:51 +0000 (14:00 -0400)]
Add two initial octave functions, has_root and bisect.