TBCI::F_Matrix< T > Class Template Reference

#include <f_matrix.h>

Inheritance diagram for TBCI::F_Matrix< T >:

Inheritance graph
[legend]
Collaboration diagram for TBCI::F_Matrix< 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_Matrix (const unsigned d=0)
 F_Matrix (const unsigned r, const unsigned c)
 F_Matrix (const T &v, const unsigned r, const unsigned c)
 F_Matrix (const F_Matrix< T > &m)
 F_Matrix (const CSCMatrix< T > &m)
 F_Matrix (const F_TMatrix< T > &tm)
 F_Matrix (F_TSMatrix< T > &ts)
 ~F_Matrix ()
 F_Matrix (const Matrix< T > &m)
 operator TMatrix< T > () const
T & operator() (const unsigned int, const unsigned int) const
T * get_fortran_matrix () const
const T & get (const unsigned r, const unsigned c) const
unsigned int columns () const
unsigned int rows () const
unsigned long size () const
TVector< T > get_row (const unsigned int) const
TVector< T > get_col (const unsigned int) const
void set_row (const Vector< T > &, const unsigned int)
void set_col (const Vector< T > &, const unsigned int)
void setval (const T val, const unsigned int r, const unsigned int c)
F_Matrix< T > & operator= (const F_Matrix< T > &m)
F_Matrix< T > & operator= (const F_TMatrix< T > &tm)
F_Matrix< T > & operator= (F_TSMatrix< T > ts)
F_Matrix< T > & operator= (const T &v)
F_Matrix< T > & resize (const unsigned r, const unsigned c)
F_Matrix< T > & resize (const unsigned d)
F_Matrix< T > & resize (const T &v, const unsigned r, const unsigned c)
F_Matrix< T > & fill (const T &v=0)
F_Matrix< T > & setunit (const T &f=1)
F_Matrix< T > & clear ()
F_Matrix< T > & operator+= (const F_Matrix< T > &a)
F_Matrix< T > & operator-= (const F_Matrix< T > &a)
F_Matrix< T > & operator+= (F_TMatrix< T > a)
F_Matrix< T > & operator-= (F_TMatrix< T > a)
F_Matrix< T > & operator+= (const T &a)
F_Matrix< T > & operator-= (const T &a)
F_Matrix< T > & operator*= (const T &a)
F_Matrix< T > & operator/= (const T &a)
F_TMatrix< T > operator- () const
F_TMatrix< T > operator+ (const F_Matrix< T > &) const
F_TMatrix< T > operator- (const F_Matrix< T > &) const
F_TMatrix< T > operator* (const F_Matrix< T > &) const
F_TMatrix< T > operator+ (F_TMatrix< T >) const
F_TMatrix< T > operator- (F_TMatrix< T >) const
F_TMatrix< T > operator* (F_TMatrix< T >) const
F_TMatrix< T > operator+ (F_TSMatrix< T >) const
F_TMatrix< T > operator- (F_TSMatrix< T >) const
F_TMatrix< T > operator* (F_TSMatrix< T >) const
F_TMatrix< T > operator+ (const T &) const
F_TMatrix< T > operator- (const T &) const
F_TSMatrix< T > operator* (const T &) const
F_TSMatrix< T > operator/ (const T &) const
TVector< T > operator* (const Vector< T > &) const
TVector< T > operator* (TVector< T > &) const
bool operator== (const F_Matrix< T > &m) const
bool operator!= (const F_Matrix< T > &m) const
bool operator== (F_TMatrix< T > &tm) const
bool operator!= (F_TMatrix< T > &tm) const
bool operator== (F_TSMatrix< T > &) const
bool operator!= (F_TSMatrix< T > &ts) const
F_TMatrix< T > herm () const
F_TMatrix< T > conj () const
F_TMatrix< T > trans () const
double fabs () const

Static Public Member Functions

static const char * mat_info ()

Friends

class F_TSMatrix< T >
std::ostream & operator<< (std::ostream &, const F_Matrix< T > &)
std::istream & operator>> (std::istream &, F_Matrix< T > &)


Detailed Description

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

Definition at line 1164 of file f_matrix.h.


Member Typedef Documentation

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1169 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1170 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1171 of file f_matrix.h.


Constructor & Destructor Documentation

template<typename T>
TBCI::F_Matrix< T >::F_Matrix ( const unsigned  d = 0  )  [inline, explicit]

Definition at line 1176 of file f_matrix.h.

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

Definition at line 1177 of file f_matrix.h.

template<typename T>
TBCI::F_Matrix< T >::F_Matrix ( const T &  v,
const unsigned  r,
const unsigned  c 
) [inline]

Definition at line 1178 of file f_matrix.h.

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

Definition at line 1183 of file f_matrix.h.

template<typename T>
TBCI::F_Matrix< T >::F_Matrix ( const CSCMatrix< T > &  m  )  [inline]

Definition at line 1315 of file f_matrix.h.

References TBCI::CSCMatrix< T >::columns(), and TBCI::CSCMatrix< T >::rows().

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

Definition at line 1187 of file f_matrix.h.

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

Definition at line 1188 of file f_matrix.h.

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

Definition at line 1190 of file f_matrix.h.

References TBCI::F_TSMatrix< T >::destroy().

template<typename T>
TBCI::F_Matrix< T >::F_Matrix ( const Matrix< T > &  m  )  [inline]


Member Function Documentation

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

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1197 of file f_matrix.h.

template<typename T>
T & TBCI::F_Matrix< T >::operator() ( const unsigned int  r,
const unsigned int  c 
) const [inline]

template<typename T>
T* TBCI::F_Matrix< T >::get_fortran_matrix (  )  const [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1202 of file f_matrix.h.

References TBCI::F_TSMatrix< T >::vec.

Referenced by TBCI::eig(), TBCI::inv(), and TBCI::lu_solve().

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1203 of file f_matrix.h.

References TBCI::F_TSMatrix< T >::mat.

template<typename T>
unsigned int TBCI::F_Matrix< T >::columns (  )  const [inline]

template<typename T>
unsigned int TBCI::F_Matrix< T >::rows (  )  const [inline]

template<typename T>
unsigned long TBCI::F_Matrix< T >::size (  )  const [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1208 of file f_matrix.h.

References TBCI::F_TSMatrix< T >::dim.

template<typename T>
TVector< T > TBCI::F_Matrix< T >::get_row ( const unsigned int  r  )  const [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1606 of file f_matrix.h.

template<typename T>
TVector< T > TBCI::F_Matrix< T >::get_col ( const unsigned int  c  )  const [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1600 of file f_matrix.h.

Referenced by TBCI::eig().

template<typename T>
void TBCI::F_Matrix< T >::set_row ( const Vector< T > &  v,
const unsigned int  r 
) [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1612 of file f_matrix.h.

template<typename T>
void TBCI::F_Matrix< T >::set_col ( const Vector< T > &  v,
const unsigned int  c 
) [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1594 of file f_matrix.h.

Referenced by TBCI::eig(), and TBCI::operator>>().

template<typename T>
void TBCI::F_Matrix< T >::setval ( const T  val,
const unsigned int  r,
const unsigned int  c 
) [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1214 of file f_matrix.h.

References TBCI::F_TSMatrix< T >::operator()().

Referenced by TBCI::F_Matrix< T >::F_Matrix(), and TBCI::CSCMatrix< T >::mult().

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1218 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1220 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1222 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1224 of file f_matrix.h.

template<typename T>
F_Matrix<T>& TBCI::F_Matrix< T >::resize ( const unsigned  r,
const unsigned  c 
) [inline]

Definition at line 1227 of file f_matrix.h.

Referenced by TBCI::eig(), TBCI::inv(), and TBCI::lu_solve().

template<typename T>
F_Matrix<T>& TBCI::F_Matrix< T >::resize ( const unsigned  d  )  [inline]

Definition at line 1229 of file f_matrix.h.

template<typename T>
F_Matrix<T>& TBCI::F_Matrix< T >::resize ( const T &  v,
const unsigned  r,
const unsigned  c 
) [inline]

Definition at line 1231 of file f_matrix.h.

template<typename T>
F_Matrix<T>& TBCI::F_Matrix< T >::fill ( const T &  v = 0  )  [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1233 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1235 of file f_matrix.h.

template<typename T>
F_Matrix<T>& TBCI::F_Matrix< T >::clear (  )  [inline]

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1237 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1243 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1245 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1247 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1249 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1251 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1253 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1255 of file f_matrix.h.

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1257 of file f_matrix.h.

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

Definition at line 1262 of file f_matrix.h.

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

Definition at line 1424 of file f_matrix.h.

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

Definition at line 1425 of file f_matrix.h.

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

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

Definition at line 1438 of file f_matrix.h.

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

Definition at line 1439 of file f_matrix.h.

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

Definition at line 1492 of file f_matrix.h.

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

Definition at line 1452 of file f_matrix.h.

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

Definition at line 1453 of file f_matrix.h.

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

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

Definition at line 1398 of file f_matrix.h.

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

Definition at line 1399 of file f_matrix.h.

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

Definition at line 1402 of file f_matrix.h.

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

Definition at line 1406 of file f_matrix.h.

References BCHK, and T.

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

template<typename T>
TVector< T > TBCI::F_Matrix< T >::operator* ( TVector< T > &  c  )  const [inline]

Definition at line 1575 of file f_matrix.h.

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

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

Definition at line 1285 of file f_matrix.h.

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

Definition at line 1288 of file f_matrix.h.

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

Definition at line 1290 of file f_matrix.h.

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

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

Definition at line 1294 of file f_matrix.h.

template<typename T>
F_TMatrix<T> TBCI::F_Matrix< T >::herm (  )  const [inline]

Definition at line 1304 of file f_matrix.h.

template<typename T>
F_TMatrix<T> TBCI::F_Matrix< T >::conj (  )  const [inline]

Definition at line 1305 of file f_matrix.h.

template<typename T>
F_TMatrix<T> TBCI::F_Matrix< T >::trans (  )  const [inline]

Definition at line 1306 of file f_matrix.h.

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


Friends And Related Function Documentation

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

Reimplemented from TBCI::F_TMatrix< T >.

Definition at line 1173 of file f_matrix.h.

template<typename T>
std:: ostream& operator<< ( std::ostream &  os,
const F_Matrix< T > &  m 
) [friend]

Definition at line 1344 of file f_matrix.h.

template<typename T>
std:: istream& operator>> ( std::istream &  in,
F_Matrix< T > &  m 
) [friend]

Definition at line 1372 of file f_matrix.h.


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

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