My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
tmatrix< nr_type_t > Class Template Reference

#include <tmatrix.h>

Public Member Functions

 tmatrix ()
 
 tmatrix (int)
 
 tmatrix (int, int)
 
 tmatrix (const tmatrix &)
 
const tmatrixoperator= (const tmatrix &)
 
 ~tmatrix ()
 
nr_type_t get (int, int)
 
void set (int, int, nr_type_t)
 
void set (nr_type_t)
 
int getCols (void)
 
int getRows (void)
 
nr_type_t * getData (void)
 
tvector< nr_type_t > getRow (int)
 
void setRow (int, tvector< nr_type_t >)
 
tvector< nr_type_t > getCol (int)
 
void setCol (int, tvector< nr_type_t >)
 
void exchangeRows (int, int)
 
void exchangeCols (int, int)
 
void transpose (void)
 
int isFinite (void)
 
void print (bool realonly=false)
 
tmatrix operator+= (tmatrix)
 
tmatrix operator-= (tmatrix)
 
nr_type_t operator() (int r, int c) const
 
nr_type_t & operator() (int r, int c)
 

Friends

tmatrix inverse (tmatrix)
 
tmatrix teye (int)
 
tmatrix operator* (tmatrix, tmatrix)
 
tvector< nr_type_t > operator* (tmatrix, tvector< nr_type_t >)
 
tvector< nr_type_t > operator* (tvector< nr_type_t >, tmatrix)
 

Detailed Description

template<class nr_type_t>
class tmatrix< nr_type_t >

Definition at line 31 of file tmatrix.h.

Constructor & Destructor Documentation

template<class nr_type_t >
tmatrix< nr_type_t >::tmatrix ( )

Definition at line 42 of file tmatrix.cpp.

template<class nr_type_t >
tmatrix< nr_type_t >::tmatrix ( int  s)

Definition at line 51 of file tmatrix.cpp.

template<class nr_type_t >
tmatrix< nr_type_t >::tmatrix ( int  r,
int  c 
)

Definition at line 63 of file tmatrix.cpp.

template<class nr_type_t >
tmatrix< nr_type_t >::tmatrix ( const tmatrix< nr_type_t > &  m)

Definition at line 76 of file tmatrix.cpp.

template<class nr_type_t >
tmatrix< nr_type_t >::~tmatrix ( )

Definition at line 107 of file tmatrix.cpp.

Member Function Documentation

template<class nr_type_t >
void tmatrix< nr_type_t >::exchangeCols ( int  c1,
int  c2 
)

Definition at line 185 of file tmatrix.cpp.

template<class nr_type_t >
void tmatrix< nr_type_t >::exchangeRows ( int  r1,
int  r2 
)

Definition at line 173 of file tmatrix.cpp.

Here is the caller graph for this function:

template<class nr_type_t >
nr_type_t tmatrix< nr_type_t >::get ( int  r,
int  c 
)

Definition at line 113 of file tmatrix.cpp.

Here is the caller graph for this function:

template<class nr_type_t >
tvector< nr_type_t > tmatrix< nr_type_t >::getCol ( int  c)

Definition at line 153 of file tmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class nr_type_t>
int tmatrix< nr_type_t >::getCols ( void  )
inline

Definition at line 58 of file tmatrix.h.

Here is the caller graph for this function:

template<class nr_type_t>
nr_type_t* tmatrix< nr_type_t >::getData ( void  )
inline

Definition at line 60 of file tmatrix.h.

Here is the caller graph for this function:

template<class nr_type_t >
tvector< nr_type_t > tmatrix< nr_type_t >::getRow ( int  r)

Definition at line 133 of file tmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class nr_type_t>
int tmatrix< nr_type_t >::getRows ( void  )
inline

Definition at line 59 of file tmatrix.h.

Here is the caller graph for this function:

template<class nr_type_t >
int tmatrix< nr_type_t >::isFinite ( void  )

Definition at line 333 of file tmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class nr_type_t>
nr_type_t tmatrix< nr_type_t >::operator() ( int  r,
int  c 
) const
inline

Definition at line 85 of file tmatrix.h.

template<class nr_type_t>
nr_type_t& tmatrix< nr_type_t >::operator() ( int  r,
int  c 
)
inline

Definition at line 88 of file tmatrix.h.

template<class nr_type_t >
tmatrix< nr_type_t > tmatrix< nr_type_t >::operator+= ( tmatrix< nr_type_t >  a)

Definition at line 255 of file tmatrix.cpp.

Here is the call graph for this function:

template<class nr_type_t >
tmatrix< nr_type_t > tmatrix< nr_type_t >::operator-= ( tmatrix< nr_type_t >  a)

Definition at line 265 of file tmatrix.cpp.

Here is the call graph for this function:

template<class nr_type_t >
const tmatrix< nr_type_t > & tmatrix< nr_type_t >::operator= ( const tmatrix< nr_type_t > &  m)

Definition at line 92 of file tmatrix.cpp.

template<class nr_type_t>
void tmatrix< nr_type_t >::print ( bool  realonly = false)

Here is the caller graph for this function:

template<class nr_type_t>
void tmatrix< nr_type_t >::set ( int  r,
int  c,
nr_type_t  z 
)

Definition at line 120 of file tmatrix.cpp.

Here is the caller graph for this function:

template<class nr_type_t>
void tmatrix< nr_type_t >::set ( nr_type_t  z)

Definition at line 127 of file tmatrix.cpp.

template<class nr_type_t>
void tmatrix< nr_type_t >::setCol ( int  c,
tvector< nr_type_t >  v 
)

Definition at line 164 of file tmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class nr_type_t>
void tmatrix< nr_type_t >::setRow ( int  r,
tvector< nr_type_t >  v 
)

Definition at line 144 of file tmatrix.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class nr_type_t >
void tmatrix< nr_type_t >::transpose ( void  )

Definition at line 321 of file tmatrix.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

template<class nr_type_t>
tmatrix inverse ( tmatrix< nr_type_t >  )
friend

Definition at line 197 of file tmatrix.cpp.

template<class nr_type_t>
tmatrix operator* ( tmatrix< nr_type_t >  ,
tmatrix< nr_type_t >   
)
friend

Definition at line 275 of file tmatrix.cpp.

template<class nr_type_t>
tvector<nr_type_t> operator* ( tmatrix< nr_type_t >  ,
tvector< nr_type_t >   
)
friend

Definition at line 291 of file tmatrix.cpp.

template<class nr_type_t>
tvector<nr_type_t> operator* ( tvector< nr_type_t >  ,
tmatrix< nr_type_t >   
)
friend

Definition at line 306 of file tmatrix.cpp.

template<class nr_type_t>
tmatrix teye ( int  )
friend

Definition at line 247 of file tmatrix.cpp.


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