MyraMath
Public Member Functions | List of all members
myra::RLDLTKernel< Precision > Class Template Reference

Factors A into L*L', presents solve methods. More...

#include <Kernel.h>

Public Member Functions

 RLDLTKernel ()
 Default constructor, initializes to 0 size.
 
 RLDLTKernel (LowerMatrixRange< Precision > &A)
 Seats reference to L, to be factor()'d later.
 
 RLDLTKernel (LowerMatrixRange< Precision > &A, InputStream &in)
 Constructs from an InputStream, after seating reference to L.
 
void write (OutputStream &out) const
 Writes to an OutputStream.
 
uint64_t factor ()
 Factors A = L*I*L'.
 
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.
 
void solveI (const MatrixRange< Precision > &B, char side) const
 Solves I*X=B or X*I=B, overwrites B with X.
 
std::pair< int, int > inertia () const
 Returns inertia I, (n_plus, n_minus). Useful for schur downdates.
 
int size () const
 Size inspector.
 

Detailed Description

template<class Precision>
class myra::RLDLTKernel< Precision >

Factors A into L*L', presents solve methods.


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