6 #ifndef MYRAMATH_MULTIFRONTAL_RCHOLESKY_KERNEL_H 7 #define MYRAMATH_MULTIFRONTAL_RCHOLESKY_KERNEL_H 23 #include <myramath/dense/detail/nwork.h> 56 {
return potrf_nwork(L); }
62 {
return trsm_nwork(side,op,L,B); }
66 {
return std::pair<int,int>(size(),0); }
80 {
public:
typedef Precision type; };
Reflects Number trait for a Container, containers of Numbers (Matrix's, Vector's, etc) should special...
Definition: Number.h:55
Cholesky factorization routines for positive definite matrices.
Interface class for representing subranges of dense Matrix's.
int size() const
Size inspector.
Definition: Kernel.h:69
uint64_t factor()
Factors A = L*L'.
Definition: Kernel.h:55
uint64_t solveL(const MatrixRange< Precision > &B, char side, char op) const
Solves op(L)*X=B or X*op(L)=B, overwrites B with X.
Definition: Kernel.h:61
ReaderWriter<T>, encapsulates a read()/write() pair for type T.
Range construct for a lower triangular matrix stored in rectangular packed format.
Routines for backsolving by a triangular Matrix or LowerMatrix.
RCholeskyKernel(LowerMatrixRange< Precision > &A, InputStream &in)
Constructs from an InputStream, after seating reference to L.
Definition: Kernel.h:47
Abstraction layer, serializable objects write themselves to these.
Definition: Streams.h:39
Various utility functions/classes related to scalar Number types.
RCholeskyKernel()
Default constructor, initializes to 0 size.
Definition: Kernel.h:39
Represents a mutable MatrixRange.
Definition: conjugate.h:26
std::pair< int, int > inertia() const
Returns inertia I, (n_plus, n_minus). Useful for schur downdates.
Definition: Kernel.h:65
Factors A into L*L', presents solve methods.
Definition: Kernel.h:34
RCholeskyKernel(LowerMatrixRange< Precision > &A)
Seats reference to L, to be factor()'d later.
Definition: Kernel.h:43
Bases classes for binary input/output streams.
void write(OutputStream &out) const
Writes to an OutputStream.
Definition: Kernel.h:51