From: Michael Orlitzky Date: Sun, 20 Sep 2015 00:57:39 +0000 (-0400) Subject: Update usage of matrix_simplify_full (now part of Sage). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a4f22c00f915d4c20f5105039d647540c18b3d83;p=sage.d.git Update usage of matrix_simplify_full (now part of Sage). --- diff --git a/mjo/cone/symmetric_psd.py b/mjo/cone/symmetric_psd.py index bb46fc9..514d039 100644 --- a/mjo/cone/symmetric_psd.py +++ b/mjo/cone/symmetric_psd.py @@ -12,7 +12,6 @@ from sage.all import * from os.path import abspath from site import addsitedir addsitedir(abspath('../../')) -from mjo.symbolic import matrix_simplify_full def is_symmetric_psd(A): @@ -153,7 +152,7 @@ def factor_psd(A): sage: A = matrix(SR, [[0, 2, 3], [2, 0, 0], [3, 0, 0]]) sage: X = factor_psd(A) - sage: A2 = matrix_simplify_full(X*X.transpose()) + sage: A2 = (X*X.transpose()).simplify_full() sage: A == A2 True