double syten::full_rank_ness | ( | DenseTensor< 2, std::complex< double > > const & | a | ) |
Estimates the full-rank-ness (compared to its smaller dimension) of a complex matrix A using QR with pivoting.
Does not perform row sorting or row pivoting. For optimal stability, you should do both, using scale_columns_2norm
and sort_rows_infnorm
.
Returns the ratio of largest to smallest (absolute-value-wise) diagonal element of R. A ratio of 1 indicates an identity matrix, a very large ratio a near-degenerate matrix and a value of inf
a matrix not of full rank.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References syten::Cuda::copy(), full_rank_ness(), and std::move().