~ubuntu-branches/ubuntu/wily/octave/wily

« back to all changes in this revision

Viewing changes to src/DLD-FUNCTIONS/rcond.cc

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-05-14 12:42:41 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130514124241-dqow8bc0l4r3yj93
Tags: 3.6.4-2
* Adapt for Texinfo 5
  - add_info_dir_categories: use @dircategory in the patch
  - texinfo5.diff: new patch, fixes compatibility issues with Texinfo 5
* Upgrade to FLTK 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
%!assert( rcond ([1 1; 2 1]), 1/9)
94
94
%!assert( rcond (magic (4)), 0, eps)
95
95
 
 
96
%!shared x, sx
 
97
%! x = [-5.25, -2.25; -2.25, 1] * eps () + ones (2) / 2;
 
98
%! sx = [-5.25, -2.25; -2.25, 1] * eps ("single") + ones (2) / 2;
 
99
%!assert (rcond (x) < eps ());
 
100
%!assert (rcond (sx) < eps ('single'));
 
101
%!assert (rcond (x*i) < eps ());
 
102
%!assert (rcond (sx*i) < eps ('single'));
 
103
 
96
104
*/