Ask Your Question

Revision history [back]

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.