]> gitweb.michael.orlitzky.com - octave.git/blob - tests/perturb_tests.m
Replace step_length_cgm() with a direct call to step_length_positive_definite().
[octave.git] / tests / perturb_tests.m
1 A = rand(10);
2 A_hat = perturb(A, 1e-12);
3 dA = A_hat - A;
4
5 unit_test_equals("dA has the correct infinity norm", ...
6 1e-12, ...
7 norm(dA, 'inf'));