TBCI Numerical high perf. C++ Library  2.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
F_TSMatrix< T > Class Template Reference

Temporary object for scaled matrices. More...

#include <cscmatrix.h>

Inheritance diagram for F_TSMatrix< T >:
Inheritance graph
[legend]
Collaboration diagram for F_TSMatrix< T >:
Collaboration graph
[legend]

Public Types

typedef T value_type
 
typedef T element_type
 
typedef T aligned_value_type TALIGN (MIN_ALIGN2)
 

Public Member Functions

 F_TSMatrix ()
 
 ~F_TSMatrix ()
 
 col (tm.col)
 
 row (tm.row)
 
 mat (tm.mat)
 
 vec (tm.vec)
 
 endvec (tm.endvec)
 
 fac (f)
 
 mut (true)
 
 col (m.col)
 
 row (m.row)
 
 mat (m.mat)
 
 vec (m.vec)
 
 endvec (m.endvec)
 
 fac (f)
 
 mut (false)
 
 F_TSMatrix (const F_TSMatrix< T > &ts)
 
T operator() (const unsigned r, const unsigned c)
 
T get (const unsigned r, const unsigned c) const
 
F_TSMatrix< T > & eval (F_TMatrix< T > *=0)
 
 operator TMatrix< T > ()
 
F_TSMatrix< T > & operator= (const F_TSMatrix< T > &ts)
 
F_TSMatrix< T > & operator= (const F_TMatrix< T > &tm)
 
F_TSMatrix< T > & operator*= (const T &f)
 
F_TSMatrix< T > & operator/= (const T &f)
 
F_TSMatrix< T > & operator* (const T &f)
 
F_TSMatrix< T > & operator/ (const T &f)
 
F_TSMatrix< T > & operator- ()
 
F_TMatrix< Toperator+ (const F_Matrix< T > &)
 
F_TMatrix< Toperator+ (const F_TMatrix< T > &)
 
F_TMatrix< Toperator+ (F_TSMatrix< T >)
 
F_TMatrix< Toperator+ (const T &)
 
F_TMatrix< Toperator- (const F_Matrix< T > &)
 
F_TMatrix< Toperator- (const F_TMatrix< T > &)
 
F_TMatrix< Toperator- (F_TSMatrix< T >)
 
F_TMatrix< Toperator- (const T &)
 
F_TMatrix< Toperator* (const F_Matrix< T > &m)
 
F_TMatrix< Toperator* (const CSCMatrix< T > &m)
 
TVector< Toperator* (const Vector< T > &v)
 
bool operator== (const F_Matrix< T > &)
 
bool operator!= (const F_Matrix< T > &m)
 
bool operator== (F_TSMatrix< T >)
 
bool operator!= (F_TSMatrix< T > ts)
 
bool operator== (F_TMatrix< T > tm)
 
bool operator!= (F_TMatrix< T > tm)
 
double fabs ()
 
- Public Member Functions inherited from Matrix_Sig< T >
 Matrix_Sig ()
 
 ~Matrix_Sig ()
 
tbci_traits< T >::const_refval_type operator() (const unsigned, const unsigned) const
 ro access More...
 
Toperator() (const unsigned, const unsigned)
 rw access More...
 
Matrix_Sig< T > & fill (const T &)
 
Matrix_Sig< T > & setunit (const T &=(T) 1)
 
Matrix_Sig< T > & clear ()
 
TVector< Toperator* (const Vector_Sig< T > &) const
 
TVector< TtransMult (const Vector_Sig< T > &) const
 
unsigned int rows () const
 
unsigned int columns () const
 

Static Public Member Functions

static const char * mat_info ()
 
- Static Public Member Functions inherited from Matrix_Sig< T >
static const char * mat_info ()
 

Public Attributes

 __pad0__: dim(tm.dim)
 
 __pad1__: dim(m.dim)
 

Protected Member Functions

void destroy ()
 
T fac ALIGN (MIN_ALIGN)
 
void clone (bool=false, F_TMatrix< T > *=0)
 
void detach (F_TMatrix< T > *=0)
 

Protected Attributes

unsigned long dim
 
unsigned int col
 
unsigned int row
 
T ** mat
 
Tvec
 
Tendvec
 
bool mut
 

Friends

class F_TMatrix< T >
 
class F_Matrix< T >
 
NOINST F_TSMatrix< T >
FRIEND_TBCI__ 
operator*FGD (const T &, F_TSMatrix< T >)
 
NOINST F_TMatrix< T > FRIEND_TBCI__ operator+FGD (const T &, F_TSMatrix< T >)
 
NOINST F_TMatrix< T > FRIEND_TBCI__ operator-FGD (const T &, F_TSMatrix< T >)
 

Detailed Description

template<typename T>
class F_TSMatrix< T >

Temporary object for scaled matrices.

Definition at line 50 of file cscmatrix.h.

Member Typedef Documentation

template<typename T>
typedef T F_TSMatrix< T >::element_type

Definition at line 807 of file f_matrix.h.

template<typename T>
typedef T aligned_value_type F_TSMatrix< T >::TALIGN(MIN_ALIGN2)

Definition at line 808 of file f_matrix.h.

template<typename T>
typedef T F_TSMatrix< T >::value_type

Definition at line 806 of file f_matrix.h.

Constructor & Destructor Documentation

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

Definition at line 813 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::~F_TSMatrix ( )
inline

Definition at line 815 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::F_TSMatrix ( const F_TSMatrix< T > &  ts)
inline

Definition at line 823 of file f_matrix.h.

Member Function Documentation

template<typename T>
T fac F_TSMatrix< T >::ALIGN ( MIN_ALIGN  )
protected
template<typename T >
void F_TSMatrix< T >::clone ( bool  evl = false,
F_TMatrix< T > *  tm = 0 
)
protected
template<typename T>
F_TSMatrix< T >::col ( tm.  col)
template<typename T>
F_TSMatrix< T >::col ( m.  col)
template<typename T >
void F_TSMatrix< T >::destroy ( )
inlineprotected
template<typename T >
void F_TSMatrix< T >::detach ( F_TMatrix< T > *  tm = 0)
inlineprotected
template<typename T>
F_TSMatrix< T >::endvec ( tm.  endvec)
template<typename T>
F_TSMatrix< T >::endvec ( m.  endvec)
template<typename T >
F_TSMatrix< T > & F_TSMatrix< T >::eval ( F_TMatrix< T > *  tm = 0)
inline
template<typename T >
double F_TSMatrix< T >::fabs ( )
template<typename T>
F_TSMatrix< T >::fac ( )
template<typename T>
F_TSMatrix< T >::fac ( )
template<typename T>
T F_TSMatrix< T >::get ( const unsigned  r,
const unsigned  c 
) const
inline

Definition at line 829 of file f_matrix.h.

References c, F_TSMatrix< T >::fac(), and F_TSMatrix< T >::mat.

template<typename T>
F_TSMatrix< T >::mat ( tm.  mat)
template<typename T>
F_TSMatrix< T >::mat ( m.  mat)
template<typename T>
static const char* F_TSMatrix< T >::mat_info ( )
inlinestatic

Definition at line 835 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::mut ( true  )
inline

Definition at line 819 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::mut ( false  )
inline

Definition at line 822 of file f_matrix.h.

template<typename T >
F_TSMatrix< T >::operator TMatrix< T > ( )
template<typename T>
bool F_TSMatrix< T >::operator!= ( const F_Matrix< T > &  m)
inline

Definition at line 875 of file f_matrix.h.

template<typename T>
bool F_TSMatrix< T >::operator!= ( F_TSMatrix< T ts)
inline

Definition at line 878 of file f_matrix.h.

References ts.

template<typename T>
bool F_TSMatrix< T >::operator!= ( F_TMatrix< T tm)
inline

Definition at line 881 of file f_matrix.h.

template<typename T>
T F_TSMatrix< T >::operator() ( const unsigned  r,
const unsigned  c 
)
inline

Definition at line 827 of file f_matrix.h.

References c, F_TSMatrix< T >::destroy(), F_TSMatrix< T >::fac(), F_TSMatrix< T >::mat, and T.

template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator* ( const T f)
inline

Definition at line 849 of file f_matrix.h.

References F_TSMatrix< T >::fac().

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator* ( const F_Matrix< T > &  m)
template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator* ( const CSCMatrix< T > &  m)
template<typename T >
TVector< T > F_TSMatrix< T >::operator* ( const Vector< T > &  v)
template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator*= ( const T f)
inline

Definition at line 847 of file f_matrix.h.

References F_TSMatrix< T >::fac().

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator+ ( const F_Matrix< T > &  m)
inline

Definition at line 991 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator+ ( const F_TMatrix< T > &  tm)
inline

Definition at line 1005 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator+ ( F_TSMatrix< T ts)
inline

Definition at line 1023 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator+ ( const T a)
inline

Definition at line 1037 of file f_matrix.h.

template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator- ( )
inline

Definition at line 852 of file f_matrix.h.

References F_TSMatrix< T >::fac(), and T.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator- ( const F_Matrix< T > &  m)
inline

Definition at line 992 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator- ( const F_TMatrix< T > &  tm)
inline

Definition at line 1006 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator- ( F_TSMatrix< T ts)
inline

Definition at line 1024 of file f_matrix.h.

template<typename T >
F_TMatrix< T > F_TSMatrix< T >::operator- ( const T a)
inline

Definition at line 1038 of file f_matrix.h.

template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator/ ( const T f)
inline

Definition at line 850 of file f_matrix.h.

References F_TSMatrix< T >::fac().

template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator/= ( const T f)
inline

Definition at line 848 of file f_matrix.h.

References F_TSMatrix< T >::fac().

template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator= ( const F_TSMatrix< T > &  ts)
inline
template<typename T>
F_TSMatrix<T>& F_TSMatrix< T >::operator= ( const F_TMatrix< T > &  tm)
inline
template<typename T >
bool F_TSMatrix< T >::operator== ( const F_Matrix< T > &  m)
template<typename T >
bool F_TSMatrix< T >::operator== ( F_TSMatrix< T ts)
template<typename T>
bool F_TSMatrix< T >::operator== ( F_TMatrix< T tm)
inline

Definition at line 880 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::row ( tm.  row)
template<typename T>
F_TSMatrix< T >::row ( m.  row)
template<typename T>
F_TSMatrix< T >::vec ( tm.  vec)
template<typename T>
F_TSMatrix< T >::vec ( m.  vec)

Friends And Related Function Documentation

template<typename T>
friend class F_Matrix< T >
friend

Definition at line 811 of file f_matrix.h.

template<typename T>
friend class F_TMatrix< T >
friend

Definition at line 810 of file f_matrix.h.

template<typename T>
NOINST F_TSMatrix<T> FRIEND_TBCI__ operator*FGD ( const T ,
F_TSMatrix< T  
)
friend
template<typename T>
NOINST F_TMatrix<T> FRIEND_TBCI__ operator+FGD ( const T ,
F_TSMatrix< T  
)
friend
template<typename T>
NOINST F_TMatrix<T> FRIEND_TBCI__ operator-FGD ( const T ,
F_TSMatrix< T  
)
friend

Member Data Documentation

template<typename T>
F_TSMatrix< T >::__pad0__

Definition at line 818 of file f_matrix.h.

template<typename T>
F_TSMatrix< T >::__pad1__

Definition at line 821 of file f_matrix.h.

template<typename T>
unsigned int F_TSMatrix< T >::col
protected
template<typename T>
unsigned long F_TSMatrix< T >::dim
protected
template<typename T>
T * F_TSMatrix< T >::endvec
protected
template<typename T>
T** F_TSMatrix< T >::mat
protected
template<typename T>
bool F_TSMatrix< T >::mut
protected

Definition at line 793 of file f_matrix.h.

Referenced by F_TMatrix< T >::F_TMatrix(), and F_TSMatrix< T >::operator=().

template<typename T>
unsigned int F_TSMatrix< T >::row
protected
template<typename T>
T* F_TSMatrix< T >::vec
protected

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