Kokkos Node API and Local Linear Algebra Kernels Version of the Day
TSQR::CombineDefault< Ordinal, Scalar > Class Template Reference

Default copy-in, copy-out implementation of `TSQR::Combine`. More...

`#include <Tsqr_CombineDefault.hpp>`

Inheritance diagram for TSQR::CombineDefault< Ordinal, Scalar >:
[legend]

List of all members.

## Static Public Member Functions

static bool QR_produces_R_factor_with_nonnegative_diagonal ()
Does the R factor have a nonnegative diagonal?

## Detailed Description

### template<class Ordinal, class Scalar> class TSQR::CombineDefault< Ordinal, Scalar >

Default copy-in, copy-out implementation of `TSQR::Combine`.

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).

Definition at line 60 of file Tsqr_CombineDefault.hpp.

## Member Function Documentation

template<class Ordinal, class Scalar>
 static bool TSQR::CombineDefault< Ordinal, Scalar >::QR_produces_R_factor_with_nonnegative_diagonal ( ) ` [inline, static]`

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.

Definition at line 79 of file Tsqr_CombineDefault.hpp.

The documentation for this class was generated from the following file: