GNU Octave  4.4.1
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 (void)
 
 lu (const T &a)
 
 lu (const lu &a)
 
 lu (const T &l, const T &u, const PermMatrix &p)
 
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 VT &u, const VT &v)
 
void update (const T &u, const T &v)
 
void update_piv (const VT &u, const VT &v)
 
void update_piv (const T &u, const T &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 39 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 45 of file lu.h.

◆ VT

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

Definition at line 44 of file lu.h.

Constructor & Destructor Documentation

◆ lu() [1/4]

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

Definition at line 47 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 52 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 57 of file lu.cc.

References current_liboctave_error_handler, and u.

◆ ~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 156 of file lu.cc.

References a_nr, i, k, tmp, and Array< T >::xelem().

◆ L()

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

Definition at line 94 of file lu.cc.

References a_nc, a_nr, and i.

Referenced by get_lu_l(), and LuAminusSigmaB().

◆ operator=()

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

Definition at line 57 of file lu.h.

References a.

◆ P()

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

Definition at line 187 of file lu.cc.

◆ P_vec()

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

Definition at line 194 of file lu.cc.

References a_nr, i, p, and Array< T >::xelem().

Referenced by LuAminusSigmaB().

◆ packed()

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

Definition at line 66 of file lu.cc.

◆ regular()

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

Definition at line 210 of file lu.cc.

References i, k, min(), and retval.

Referenced by get_lu_u().

◆ U()

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

Definition at line 121 of file lu.cc.

References a_nc, a_nr, i, and u.

Referenced by get_lu_u(), and LuAminusSigmaB().

◆ unpack()

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

Definition at line 73 of file lu.cc.

◆ update() [1/2]

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

◆ update() [2/2]

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

◆ update_piv() [1/2]

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

◆ update_piv() [2/2]

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

◆ Y()

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

Definition at line 145 of file lu.cc.

Member Data Documentation

◆ a_fact

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

Definition at line 101 of file lu.h.

◆ ipvt

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

Definition at line 106 of file lu.h.

◆ l_fact

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

Definition at line 102 of file lu.h.


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