StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
StMatrix< DataType > Class Template Reference

Classes

class  StMatrixRow
 
class  StMatrixRowConst
 

Public Member Functions

 StMatrix (size_t p, size_t q, size_t init=0)
 
template<class X >
 StMatrix (const StMatrix< X > &)
 
 StMatrix (const StMatrix< DataType > &)
 
template<class X >
StMatrix< DataType > & operator= (const StMatrix< X > &)
 
StMatrix< DataType > & operator= (const StMatrix< DataType > &)
 
unsigned int numRow () const
 
unsigned int numCol () const
 
unsigned int numSize () const
 
unsigned int num_row () const
 
unsigned int num_col () const
 
unsigned int num_size () const
 
const DataType & operator() (size_t row, size_t col) const
 
DataType & operator() (size_t row, size_t col)
 
StMatrixRow operator[] (size_t r)
 
const StMatrixRowConst operator[] (size_t) const
 
StMatrix< DataType > & operator*= (double t)
 
StMatrix< DataType > & operator/= (double t)
 
template<class X >
StMatrix< DataType > & operator+= (const StMatrix< X > &)
 
template<class X >
StMatrix< DataType > & operator-= (const StMatrix< X > &)
 
template<class X >
StMatrix< DataType > dot (const StMatrix< X > &)
 
StMatrix< DataType > operator+ () const
 
StMatrix< DataType > operator- () const
 
bool operator== (const StMatrix< DataType > &) const
 
bool operator!= (const StMatrix< DataType > &) const
 
StMatrix< DataType > apply (DataType(*f)(DataType, size_t, size_t)) const
 
StMatrix< DataType > T () const
 
StMatrix< DataType > transpose () const
 
StMatrix< DataType > sub (size_t min_row, size_t max_row, size_t min_col, size_t max_col) const
 
void sub (size_t row, size_t col, const StMatrix< DataType > &m1)
 
StMatrix< DataType > inverse (size_t &ierr) const
 
void invert (size_t &ierr)
 
DataType determinant () const
 

Static Public Member Functions

static void swap (unsigned int &, unsigned int &)
 
static void swap (DataType *&, DataType *&)
 

Protected Attributes

DataType * mElement
 
unsigned int mRow
 
unsigned int mCol
 
unsigned int mSize
 

Friends

class StMatrixRow
 
class StMatrixRowConst
 

Detailed Description

template<class DataType>
class StMatrix< DataType >

Definition at line 265 of file StMatrix.hh.


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