| 1 | initial version |
Yes, check the method condition, as in:
A = random_matrix(RDF, 4)
A.condition(p=2) # produces the 2-norm (spectral norm) condition number
15.7271056154
sv = A.singular_values();
max(sv)/min(sv) # to check
15.7271056154
Type A.condition? for further examples.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.