⇤ ← Revision 1 as of 2010-12-18 09:31:21
Size: 554
Comment:
|
← Revision 2 as of 2010-12-18 09:33:16 ⇥
Size: 555
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 23: | Line 23: |
out:pos | out: pos |
Book
Linear Algebra
Author
Gilbert Strang
Edition
def chck_posdef1(C): s="pos" i=0 while i<len(C.rows()): ci=C[:i+1,:i+1] if det(ci)>0: i=i+1 else: s="not pos" break print s A1=matrix([[2,2,0],[2,5,3],[0,3,8]]) chck_posdef1(A1) out: pos
Solution by:
<Your Name>, <Profession>, <Organization>
<Your Name>, <Profession>, <Organization>