def check_simple_underdet_complex(self): a = [[1,2,3],[4,5j,6]] s = svdvals(a) assert len(s)==2 assert s[0]>=s[1]
def check_simple_overdet_complex(self): a = [[1,2],[4,5],[3j,4]] s = svdvals(a) assert len(s)==2 assert s[0]>=s[1]
def check_simple_complex(self): a = [[1,2,3],[1,20,3j],[2,5,6]] s = svdvals(a) assert len(s)==3 assert s[0]>=s[1]>=s[2]