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

#include "lu.h"

Collaboration diagram for lu< T >:

Public Types

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

Public Member Functions

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

Protected Member Functions

OCTAVE_API Array< octave_idx_typegetp (void) 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 ( void  )
inline

Definition at line 48 of file lu.h.

◆ lu() [2/8]

template<typename T >
OCTAVE_API 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 ( void  )
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 ( void  ) const
protected

Definition at line 158 of file lu.cc.

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

◆ L()

template<typename T >
T lu< T >::L ( void  ) const

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 ( void  ) const

Definition at line 189 of file lu.cc.

References PermMatrix.

◆ P_vec()

template<typename T >
ColumnVector lu< T >::P_vec ( void  ) const

Definition at line 196 of file lu.cc.

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

◆ packed()

template<typename T >
bool lu< T >::packed ( void  ) const

Definition at line 68 of file lu.cc.

◆ regular()

template<typename T >
bool lu< T >::regular ( void  ) const

Definition at line 212 of file lu.cc.

References min().

◆ U()

template<typename T >
T lu< T >::U ( void  ) const

Definition at line 123 of file lu.cc.

◆ unpack()

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

Definition at line 75 of file lu.cc.

◆ update() [1/10]

◆ update() [2/10]

◆ update() [3/10]

◆ update() [4/10]

◆ update() [5/10]

◆ update() [6/10]

◆ update() [7/10]

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

◆ update() [8/10]

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

◆ update() [9/10]

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

◆ update() [10/10]

template<typename T >
OCTAVE_API 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 >
OCTAVE_API void lu< T >::update_piv ( const T &  u,
const T &  v 
)

◆ update_piv() [10/10]

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

◆ Y()

template<typename T >
T lu< T >::Y ( void  ) const

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: