GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
octave::math::lu< T > Class Template Reference

#include "lu.h"

Collaboration diagram for octave::math::lu< T >:
Collaboration graph
[legend]

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)
 
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_idx_typeipvt
 
l_fact
 

Detailed Description

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

Definition at line 36 of file lu.h.

Member Typedef Documentation

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

Definition at line 42 of file lu.h.

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

Definition at line 41 of file lu.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file lu.h.

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

Definition at line 49 of file lu.h.

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

Definition at line 47 of file lu.cc.

References current_liboctave_error_handler.

template<typename T>
virtual octave::math::lu< T >::~lu ( void  )
inlinevirtual

Definition at line 66 of file lu.h.

Member Function Documentation

template<typename T >
Array< octave_idx_type > lu< T >::getp ( void  ) const
protected

Definition at line 138 of file lu.cc.

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

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

Definition at line 76 of file lu.cc.

References a_nc, and a_nr.

Referenced by get_lu_l(), and LuAminusSigmaB().

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

Definition at line 169 of file lu.cc.

Referenced by LuAminusSigmaB().

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

Definition at line 176 of file lu.cc.

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

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

Definition at line 57 of file lu.cc.

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

Definition at line 192 of file lu.cc.

References k, min(), and retval.

Referenced by get_lu_u().

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

Definition at line 103 of file lu.cc.

References a_nc, a_nr, and u.

Referenced by get_lu_u(), and LuAminusSigmaB().

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

Definition at line 64 of file lu.cc.

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

Definition at line 127 of file lu.cc.

Member Data Documentation

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

Definition at line 96 of file lu.h.

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

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

Definition at line 99 of file lu.h.

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

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

Definition at line 97 of file lu.h.

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


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