[sympycore] r1201 committed - Using compute_SVD in tests.

1 view
Skip to first unread message

codesite...@google.com

unread,
Apr 12, 2011, 3:09:42 PM4/12/11
to sympycor...@googlegroups.com
Revision: 1201
Author: pearu.peterson
Date: Tue Apr 12 12:03:22 2011
Log: Using compute_SVD in tests.
http://code.google.com/p/sympycore/source/detail?r=1201

Modified:
/trunk/sympycore/physics/sysbio/tests/test_steady_flux_analyzer.py

=======================================
--- /trunk/sympycore/physics/sysbio/tests/test_steady_flux_analyzer.py Tue
Apr 12 12:02:11 2011
+++ /trunk/sympycore/physics/sysbio/tests/test_steady_flux_analyzer.py Tue
Apr 12 12:03:22 2011
@@ -116,8 +116,7 @@
print ex.label_matrix (kernel, fluxes, indep_fluxes)


- print 'statistics:'
- ex.show_statistics ()
+

ex.compute_kernel_SVD()
fluxes, kernel = ex.get_kernel_SVD()
@@ -128,6 +127,9 @@
import numpy
print numpy.dot(kernel.T, kernel).round(decimals=3)

+ print 'statistics:'
+ ex.show_statistics ()
+
return
print 'large system:'
ex = SteadyFluxAnalyzer
('http://www.biomedcentral.com/content/supplementary/1752-0509-4-160-s2.xml',

Reply all
Reply to author
Forward
0 new messages