TBCI::F_TSMatrix< T > Class Template Reference

Temporary object for scaled matrices. More...

#include <f_matrix.h>

Inheritance diagram for TBCI::F_TSMatrix< T >:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef T value_type
typedef T element_type
typedef T aligned_value_type

Public Member Functions

 F_TSMatrix ()
 ~F_TSMatrix ()
 F_TSMatrix (const F_TMatrix< T > &tm, const T &f=(T) 1)
 F_TSMatrix (const F_Matrix< T > &m, const T &f=(T) 1)
 F_TSMatrix (const F_TSMatrix< T > &ts)
operator() (const unsigned r, const unsigned c)
 rw access
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< T > operator+ (const F_Matrix< T > &)
F_TMatrix< T > operator+ (const F_TMatrix< T > &)
F_TMatrix< T > operator+ (F_TSMatrix< T >)
F_TMatrix< T > operator+ (const T &)
F_TMatrix< T > operator- (const F_Matrix< T > &)
F_TMatrix< T > operator- (const F_TMatrix< T > &)
F_TMatrix< T > operator- (F_TSMatrix< T >)
F_TMatrix< T > operator- (const T &)
F_TMatrix< T > operator* (const F_Matrix< T > &m)
F_TMatrix< T > operator* (const CSCMatrix< T > &m)
TVector< T > operator* (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 ()

Static Public Member Functions

static const char * mat_info ()

Protected Member Functions

void destroy ()
T fac __attribute__ ((aligned(8)))
void clone (bool=false, F_TMatrix< T > *=0)
void detach (F_TMatrix< T > *=0)

Protected Attributes

T * vec
unsigned long dim
unsigned int row
unsigned int col
T ** mat
T * endvec
bool mut

Friends

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


Detailed Description

template<typename T>
class TBCI::F_TSMatrix< T >

Temporary object for scaled matrices.

Definition at line 780 of file f_matrix.h.


Member Typedef Documentation

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

Definition at line 804 of file f_matrix.h.

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

Definition at line 805 of file f_matrix.h.

template<typename T>
typedef T TBCI::F_TSMatrix< T >::aligned_value_type

Definition at line 806 of file f_matrix.h.


Constructor & Destructor Documentation

template<typename T>
TBCI::F_TSMatrix< T >::F_TSMatrix (  )  [inline]

Definition at line 811 of file f_matrix.h.

template<typename T>
TBCI::F_TSMatrix< T >::~F_TSMatrix (  )  [inline]

Definition at line 813 of file f_matrix.h.

template<typename T>
TBCI::F_TSMatrix< T >::F_TSMatrix ( const F_TMatrix< T > &  tm,
const T &  f = (T)1 
) [inline]

Definition at line 815 of file f_matrix.h.

template<typename T>
TBCI::F_TSMatrix< T >::F_TSMatrix ( const F_Matrix< T > &  m,
const T &  f = (T)1 
) [inline]

Definition at line 818 of file f_matrix.h.

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

Definition at line 821 of file f_matrix.h.


Member Function Documentation

template<typename T>
void TBCI::F_TSMatrix< T >::destroy (  )  [inline, protected]

template<typename T>
T fac TBCI::F_TSMatrix< T >::__attribute__ ( (aligned(8))   )  [protected]

template<typename T>
void TBCI::F_TSMatrix< T >::clone ( bool  evl = false,
F_TMatrix< T > *  tm = 0 
) [inline, protected]

template<typename T>
void TBCI::F_TSMatrix< T >::detach ( F_TMatrix< T > *  tm = 0  )  [inline, protected]

template<typename T>
T TBCI::F_TSMatrix< T >::operator() ( const unsigned  unsigned,
const unsigned  unsigned 
) [inline]

rw access

Reimplemented from TBCI::Matrix_Sig< T >.

Definition at line 825 of file f_matrix.h.

References TBCI::F_TMatrix< T >::destroy(), fac(), TBCI::F_TMatrix< T >::mat, and T.

Referenced by TBCI::F_Matrix< T >::setval().

template<typename T>
T TBCI::F_TSMatrix< T >::get ( const unsigned  r,
const unsigned  c 
) const [inline]

Definition at line 827 of file f_matrix.h.

References fac(), and TBCI::F_TMatrix< T >::mat.

template<typename T>
F_TSMatrix< T > & TBCI::F_TSMatrix< T >::eval ( F_TMatrix< T > *  tm = 0  )  [inline]

template<typename T>
TBCI::F_TSMatrix< T >::operator TMatrix< T > (  )  [inline]

template<typename T>
static const char* TBCI::F_TSMatrix< T >::mat_info (  )  [inline, static]

Reimplemented from TBCI::Matrix_Sig< T >.

Definition at line 833 of file f_matrix.h.

template<typename T>
F_TSMatrix<T>& TBCI::F_TSMatrix< T >::operator= ( const F_TSMatrix< T > &  ts  )  [inline]

template<typename T>
F_TSMatrix<T>& TBCI::F_TSMatrix< T >::operator= ( const F_TMatrix< T > &  tm  )  [inline]

template<typename T>
F_TSMatrix<T>& TBCI::F_TSMatrix< T >::operator*= ( const T &  f  )  [inline]

Definition at line 843 of file f_matrix.h.

References fac().

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

Definition at line 844 of file f_matrix.h.

References fac().

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

Definition at line 845 of file f_matrix.h.

References fac().

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

Definition at line 846 of file f_matrix.h.

References fac().

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

Definition at line 848 of file f_matrix.h.

References fac(), and T.

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

Definition at line 986 of file f_matrix.h.

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

Definition at line 1000 of file f_matrix.h.

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

Definition at line 1018 of file f_matrix.h.

template<typename T>
F_TMatrix< T > TBCI::F_TSMatrix< T >::operator+ ( const T &  a  )  [inline]

Definition at line 1032 of file f_matrix.h.

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

Definition at line 987 of file f_matrix.h.

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

Definition at line 1001 of file f_matrix.h.

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

Definition at line 1019 of file f_matrix.h.

template<typename T>
F_TMatrix< T > TBCI::F_TSMatrix< T >::operator- ( const T &  a  )  [inline]

Definition at line 1033 of file f_matrix.h.

template<typename T>
F_TMatrix< T > TBCI::F_TSMatrix< T >::operator* ( const F_Matrix< T > &  m  )  [inline]

template<typename T>
F_TMatrix< T > TBCI::F_TSMatrix< T >::operator* ( const CSCMatrix< T > &  m  )  [inline]

template<typename T>
TVector< T > TBCI::F_TSMatrix< T >::operator* ( const Vector< T > &  v  )  [inline]

template<typename T>
bool TBCI::F_TSMatrix< T >::operator== ( const F_Matrix< T > &  m  )  [inline]

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

Definition at line 871 of file f_matrix.h.

template<typename T>
bool TBCI::F_TSMatrix< T >::operator== ( F_TSMatrix< T >  ts  )  [inline]

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

Definition at line 874 of file f_matrix.h.

template<typename T>
bool TBCI::F_TSMatrix< T >::operator== ( F_TMatrix< T >  tm  )  [inline]

Definition at line 876 of file f_matrix.h.

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

Definition at line 877 of file f_matrix.h.

template<typename T>
double TBCI::F_TSMatrix< T >::fabs (  )  [inline]


Friends And Related Function Documentation

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

Definition at line 808 of file f_matrix.h.

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

Definition at line 809 of file f_matrix.h.

template<typename T>
F_TSMatrix<T> operator* ( const T &  f,
F_TSMatrix< T >  ts 
) [friend]

Definition at line 1149 of file f_matrix.h.

template<typename T>
F_TMatrix<T> operator+ ( const T &  a,
F_TSMatrix< T >  ts 
) [friend]

Definition at line 1047 of file f_matrix.h.

template<typename T>
F_TMatrix<T> operator- ( const T &  a,
F_TSMatrix< T >  ts 
) [friend]

Definition at line 1048 of file f_matrix.h.


Member Data Documentation

template<typename T>
T* TBCI::F_TSMatrix< T >::vec [protected]

template<typename T>
unsigned long TBCI::F_TSMatrix< T >::dim [protected]

template<typename T>
unsigned int TBCI::F_TSMatrix< T >::row [protected]

template<typename T>
unsigned int TBCI::F_TSMatrix< T >::col [protected]

template<typename T>
T** TBCI::F_TSMatrix< T >::mat [protected]

template<typename T>
T* TBCI::F_TSMatrix< T >::endvec [protected]

template<typename T>
bool TBCI::F_TSMatrix< T >::mut [protected]


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

Generated on Wed Nov 20 09:29:26 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6