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

#include "lu.h"

Collaboration diagram for octave::math::lu< T >:

Public Types

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

Public Member Functions

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

Protected Member Functions

Array< octave_idx_typegetp (void) const
 

Protected Attributes

a_fact
 
Array< octave_f77_int_type > ipvt
 
l_fact
 

Detailed Description

template<typename T>
class octave::math::lu< T >

Definition at line 41 of file lu.h.

Member Typedef Documentation

◆ ELT_T

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

Definition at line 47 of file lu.h.

◆ VT

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

Definition at line 46 of file lu.h.

Constructor & Destructor Documentation

◆ lu() [1/4]

template<typename T >
octave::math::lu< T >::lu ( void  )
inline

Definition at line 49 of file lu.h.

◆ lu() [2/4]

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

◆ lu() [3/4]

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

Definition at line 54 of file lu.h.

◆ lu() [4/4]

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 octave::math::lu< T >::~lu ( void  )
virtualdefault

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 >::xelem().

◆ L()

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

Definition at line 96 of file lu.cc.

Referenced by Flu(), get_lu_l(), and LuAminusSigmaB().

◆ operator=()

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

◆ P()

template<typename T >
PermMatrix lu< T >::P ( void  ) const

Definition at line 189 of file lu.cc.

Referenced by Flu(), and Fluupdate().

◆ P_vec()

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

Definition at line 196 of file lu.cc.

References Array< T >::xelem().

Referenced by Flu(), and LuAminusSigmaB().

◆ 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(), and retval.

Referenced by get_lu_u().

◆ U()

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

Definition at line 123 of file lu.cc.

Referenced by get_lu_u(), and LuAminusSigmaB().

◆ unpack()

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

Definition at line 75 of file lu.cc.

◆ update() [1/2]

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

◆ update() [2/2]

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

Referenced by Fluupdate().

◆ update_piv() [1/2]

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

◆ update_piv() [2/2]

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

Referenced by Fluupdate().

◆ Y()

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

Definition at line 147 of file lu.cc.

Referenced by Flu().

Member Data Documentation

◆ a_fact

template<typename T >
T octave::math::lu< T >::a_fact
protected

Definition at line 103 of file lu.h.

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

◆ ipvt

template<typename T >
Array<octave_f77_int_type> octave::math::lu< T >::ipvt
protected

Definition at line 108 of file lu.h.

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

◆ l_fact

template<typename T >
T octave::math::lu< T >::l_fact
protected

Definition at line 104 of file lu.h.

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


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