A=array([[a,b,c],[0,d,e],[0,0,f]])

g=det(A)

if g==0:

     print 'dependent'

else:

     print 'independent'

Strang-2.3-2-U-U (last edited 2010-12-17 11:48:17 by ravichandra)