GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lu< T > Class Template Reference

#include "lu.h"

Public Types

typedef T::element_type ELT_T
 
typedef T::column_vector_type VT
 

Public Member Functions

 lu ()
 
 lu (const ComplexMatrix &a)
 
 lu (const FloatComplexMatrix &a)
 
 lu (const FloatMatrix &a)
 
 lu (const lu &a)
 
 lu (const Matrix &a)
 
 lu (const T &a)
 
 lu (const T &l, const T &u, const PermMatrix &p)
 
virtual ~lu ()=default
 
L () const
 
luoperator= (const lu &a)
 
PermMatrix P () const
 
ColumnVector P_vec () const
 
bool packed () const
 
bool regular () const
 
U () const
 
void unpack ()
 
void update (const ColumnVector &u, const ColumnVector &v)
 
void update (const ComplexColumnVector &u, const ComplexColumnVector &v)
 
void update (const ComplexMatrix &u, const ComplexMatrix &v)
 
void update (const FloatColumnVector &u, const FloatColumnVector &v)
 
void update (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v)
 
void update (const FloatComplexMatrix &u, const FloatComplexMatrix &v)
 
void update (const FloatMatrix &u, const FloatMatrix &v)
 
void update (const Matrix &u, const Matrix &v)
 
void update (const T &u, const T &v)
 
void update (const VT &u, const VT &v)
 
void update_piv (const ColumnVector &u, const ColumnVector &v)
 
void update_piv (const ComplexColumnVector &u, const ComplexColumnVector &v)
 
void update_piv (const ComplexMatrix &u, const ComplexMatrix &v)
 
void update_piv (const FloatColumnVector &u, const FloatColumnVector &v)
 
void update_piv (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v)
 
void update_piv (const FloatComplexMatrix &u, const FloatComplexMatrix &v)
 
void update_piv (const FloatMatrix &u, const FloatMatrix &v)
 
void update_piv (const Matrix &u, const Matrix &v)
 
void update_piv (const T &u, const T &v)
 
void update_piv (const VT &u, const VT &v)
 
Y () const
 

Protected Member Functions

Array< octave_idx_typegetp () const
 

Protected Attributes

m_a_fact
 
Array< octave_f77_int_type > m_ipvt
 
m_L
 

Detailed Description

template<typename T>
class lu< T >

Definition at line 40 of file lu.h.

Member Typedef Documentation

◆ ELT_T

template<typename T >
typedef T::element_type lu< T >::ELT_T

Definition at line 46 of file lu.h.

◆ VT

template<typename T >
typedef T::column_vector_type lu< T >::VT

Definition at line 45 of file lu.h.

Constructor & Destructor Documentation

◆ lu() [1/8]

template<typename T >
lu< T >::lu ( )
inline

Definition at line 48 of file lu.h.

◆ lu() [2/8]

template<typename T >
lu< T >::lu ( const T &  a)

◆ lu() [3/8]

template<typename T >
lu< T >::lu ( const lu< T > &  a)
inline

Definition at line 53 of file lu.h.

◆ lu() [4/8]

template<typename T >
lu< T >::lu ( const T &  l,
const T &  u,
const PermMatrix p 
)

Definition at line 59 of file lu.cc.

◆ ~lu()

template<typename T >
virtual lu< T >::~lu ( )
virtualdefault

◆ lu() [5/8]

◆ lu() [6/8]

◆ lu() [7/8]

◆ lu() [8/8]

Member Function Documentation

◆ getp()

template<typename T >
Array< octave_idx_type > lu< T >::getp
protected

Definition at line 158 of file lu.cc.

References Array< T, Alloc >::xelem().

◆ L()

template<typename T >
T lu< T >::L

Definition at line 96 of file lu.cc.

◆ operator=()

template<typename T >
lu& lu< T >::operator= ( const lu< T > &  a)
inline

Definition at line 58 of file lu.h.

References lu< T >::m_a_fact, lu< T >::m_ipvt, and lu< T >::m_L.

◆ P()

template<typename T >
PermMatrix lu< T >::P

Definition at line 189 of file lu.cc.

◆ P_vec()

template<typename T >
ColumnVector lu< T >::P_vec

Definition at line 196 of file lu.cc.

References Array< T, Alloc >::xelem().

◆ packed()

template<typename T >
bool lu< T >::packed

Definition at line 68 of file lu.cc.

◆ regular()

template<typename T >
bool lu< T >::regular

Definition at line 212 of file lu.cc.

References min().

◆ U()

template<typename T >
T lu< T >::U

Definition at line 123 of file lu.cc.

◆ unpack()

template<typename T >
void lu< T >::unpack

Definition at line 75 of file lu.cc.

◆ update() [1/10]

void lu< Matrix >::update ( const ColumnVector u,
const ColumnVector v 
)

◆ update() [2/10]

◆ update() [3/10]

◆ update() [4/10]

◆ update() [5/10]

◆ update() [6/10]

◆ update() [7/10]

void lu< FloatMatrix >::update ( const FloatMatrix u,
const FloatMatrix v 
)

◆ update() [8/10]

void lu< Matrix >::update ( const Matrix u,
const Matrix v 
)

◆ update() [9/10]

template<typename T >
void lu< T >::update ( const T &  u,
const T &  v 
)

◆ update() [10/10]

template<typename T >
void lu< T >::update ( const VT u,
const VT v 
)

◆ update_piv() [1/10]

◆ update_piv() [2/10]

◆ update_piv() [3/10]

◆ update_piv() [4/10]

◆ update_piv() [5/10]

◆ update_piv() [6/10]

◆ update_piv() [7/10]

◆ update_piv() [8/10]

◆ update_piv() [9/10]

template<typename T >
void lu< T >::update_piv ( const T &  u,
const T &  v 
)

◆ update_piv() [10/10]

template<typename T >
void lu< T >::update_piv ( const VT u,
const VT v 
)

◆ Y()

template<typename T >
T lu< T >::Y

Definition at line 147 of file lu.cc.

Member Data Documentation

◆ m_a_fact

template<typename T >
T lu< T >::m_a_fact
protected

Definition at line 102 of file lu.h.

Referenced by lu< T >::operator=().

◆ m_ipvt

template<typename T >
Array<octave_f77_int_type> lu< T >::m_ipvt
protected

Definition at line 107 of file lu.h.

Referenced by lu< T >::operator=().

◆ m_L

template<typename T >
T lu< T >::m_L
protected

Definition at line 103 of file lu.h.

Referenced by lu< T >::operator=().


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