Kokkos Node API and Local Linear Algebra Kernels Version of the Day
|static bool||QR_produces_R_factor_with_nonnegative_diagonal ()|
|Does the R factor have a nonnegative diagonal? |
Default copy-in, copy-out implementation of
This is a default implementation of TSQR::Combine, which TSQR::Combine may use (via a "has-a" relationship) if it doesn't have a specialized, faster implementation. This default implementation copies the inputs into a contiguous matrix buffer, operates on them there via standard LAPACK calls, and copies out the results again. It truncates to zero any values that should be zero because of the input's structure (e.g., upper triangular).
|static bool TSQR::CombineDefault< Ordinal, Scalar >::QR_produces_R_factor_with_nonnegative_diagonal||(||)||
Does the R factor have a nonnegative diagonal?
CombineDefault implements a QR factorization (of a matrix with a special structure). Some, but not all, QR factorizations produce an R factor whose diagonal may include negative entries. This Boolean tells you whether CombineDefault promises to compute an R factor whose diagonal entries are all nonnegative.