class gpr::linalg::KokkosFactor

Overview

#include <gpr/linalg/KokkosBackend.h>
 
class KokkosFactor {
public:
    // construction
 
    KokkosFactor(const EigenMatrix& factor);
    KokkosFactor(const KokkosFactor&);
 
    // methods
 
    KokkosFactor& operator=(const KokkosFactor&);
    Eigen::Index order() const;
    EigenMatrix forward(const EigenMatrix& rhs) const;
    EigenMatrix backward(const EigenMatrix& rhs) const;
    EigenMatrix solve(const EigenMatrix& rhs) const;
    Eigen::VectorXd squaredNorms(const EigenMatrix& rhs) const;
    EigenMatrix inverse() const;
    KokkosTransferStats transferStats() const;
    void resetTransferStats();
    double halfLogDeterminant() const;
    double lowerFrobeniusNorm() const;
    double schurRelativeError() const;
};

Detailed Documentation

Methods

double lowerFrobeniusNorm() const

||L||_F over the lower triangle, reduced on the device.

double schurRelativeError() const

choleskySchurRelativeError of this factor. ||L||_F is reduced on the device. ||L^-1||_1 is upperInverseNorm1FromResidual around the computed inverse, the same residual bound as the dense path. A nonpositive order returns machine epsilon, matching choleskySchurRelativeError.