v1=vector([1, 1,-3])
v2=vector([0, 2, 1])
v3=vector([0, -1, 0])
A=matrix([v1, v2, v3]) # Generating the matrix with
# v1, v2, v3 as its rows in that order
print A.det()
print
V=RR^3
S=[v1, v2, v3]
V.linear_dependence(S) # Check if they are independent