MyraMath
Public Types | Public Member Functions | List of all members
myra::LUSolver< Number > Class Template Reference

Factors a square matrix A into L*U, presents solve methods. More...

#include <LUSolver.h>

Public Types

typedef MatrixRange< Number > Range
 

Public Member Functions

 LUSolver (const Matrix< Number > &in_A)
 Copies from A and factors A = (P*L)*U.
 
 LUSolver (Matrix< Number > &&in_A)
 Moves from A and factors A = (P*L)*U in-place.
 
 LUSolver (Matrix< Number > &A)
 Swaps out of A and factors A = (P*L)*U in-place.
 
 LUSolver (InputStream &in)
 Constructs from an InputStream.
 
void write (OutputStream &out) const
 Writes to an OutputStream.
 
void solve (const Range &B, char side='L', char op='N') const
 Solves op(A)*X=B or X*op(A)=B, overwrites B with X.
 
uint64_t solveL (const Range &B, char side, char op) const
 
uint64_t solveU (const Range &B, char side, char op) const
 
int size () const
 Size inspector.
 

Detailed Description

template<class Number>
class myra::LUSolver< Number >

Factors a square matrix A into L*U, presents solve methods.


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