X-Git-Url: http://gitweb.michael.orlitzky.com/?p=sage.d.git;a=blobdiff_plain;f=mjo%2Fcone%2Fsymmetric_pd.py;h=75c4572eed3cf433b7d0bf6a0e84491919179387;hp=5dcacfb8ea82b658a0c6d9bb46aed9a3034e2512;hb=a517ccf793b5915a4a111488d2c876c4120d6f37;hpb=c0a2a45d526131c9218f6b63b1728308ac963535 diff --git a/mjo/cone/symmetric_pd.py b/mjo/cone/symmetric_pd.py index 5dcacfb..75c4572 100644 --- a/mjo/cone/symmetric_pd.py +++ b/mjo/cone/symmetric_pd.py @@ -31,6 +31,7 @@ def is_symmetric_pd(A): The identity matrix is obviously symmetric and positive-definite:: + sage: set_random_seed() sage: A = identity_matrix(ZZ, ZZ.random_element(10)) sage: is_symmetric_pd(A) True