JUK1
LUPair< T > Struct Template Reference

A helper class to store the L U and pivot matrices. Mainly useful in solving systems of equations. More...

#include <DynamicMatrix.hpp>

Inheritance diagram for LUPair< T >:

Public Member Functions

 LUPair (size_t _M)
 
 LUPair (const LUPair< T > &other)
 
std::string toString ()
 

Public Attributes

Matrix< T > l
 
Matrix< T > u
 
std::vector< size_t > p
 
size_t M
 

Detailed Description

template<typename T>
struct LUPair< T >

A helper class to store the L U and pivot matrices. Mainly useful in solving systems of equations.

Template Parameters
Tthe value type

Definition at line 273 of file DynamicMatrix.hpp.

Constructor & Destructor Documentation

◆ LUPair() [1/2]

template<typename T >
LUPair< T >::LUPair ( size_t  _M)
inline

Definition at line 279 of file DynamicMatrix.hpp.

◆ LUPair() [2/2]

template<typename T >
LUPair< T >::LUPair ( const LUPair< T > &  other)
inline

Definition at line 282 of file DynamicMatrix.hpp.

Member Function Documentation

◆ toString()

template<typename T >
std::string LUPair< T >::toString ( )
inline

Definition at line 287 of file DynamicMatrix.hpp.

Member Data Documentation

◆ l

template<typename T >
Matrix<T> LUPair< T >::l

Definition at line 274 of file DynamicMatrix.hpp.

◆ M

template<typename T >
size_t LUPair< T >::M

Definition at line 277 of file DynamicMatrix.hpp.

◆ p

template<typename T >
std::vector<size_t> LUPair< T >::p

Definition at line 276 of file DynamicMatrix.hpp.

◆ u

template<typename T >
Matrix<T> LUPair< T >::u

Definition at line 275 of file DynamicMatrix.hpp.


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