In file matrix.hpp:template<int H, int W = H, typename T = double> class Mat
A matrix of fixed size.
Documentation
A matrix of fixed size.
Useful as entry type in system matrices,...
Inheritance:
Public Methods
-
Mat() throw()
- do not initialize
-
Mat(const Mat & m) throw()
- copy matrix
-
template<typename TB> Mat(const Expr<TB> & m)
- assign values
-
Mat(TSCAL s) throw()
- fill with scalar
-
template<typename TB> Mat& operator= (const Expr<TB> & m)
- assign values
-
Mat& operator= (const Mat & m) throw()
- copy matrix
-
Mat& operator= (TSCAL s) throw()
- fill values
-
TELEM& operator() (int i)
- linear access
-
TELEM& operator() (int i, int j)
- access element
-
const TELEM& operator() (int i) const
- linear access
-
const TELEM& operator() (int i, int j) const
- access element
-
int Height() const throw()
- the height
-
int Width() const throw()
- the width
-
const FlatVec<W,T> Row(int i)
-
const FlatVec<W,const T> Row(int i) const
-
const FixSliceVector<W, T> Col(int i)
Inherited from MatExpr:
Inherited from Expr:
Public Methods
-
T& Spec()
-
const T& Spec() const
Mat() throw()
- do not initialize
Mat(const Mat & m) throw()
- copy matrix
template<typename TB> Mat(const Expr<TB> & m)
- assign values
Mat(TSCAL s) throw()
- fill with scalar
template<typename TB> Mat& operator= (const Expr<TB> & m)
- assign values
Mat& operator= (const Mat & m) throw()
- copy matrix
Mat& operator= (TSCAL s) throw()
- fill values
TELEM& operator() (int i)
- linear access
TELEM& operator() (int i, int j)
- access element
const TELEM& operator() (int i) const
- linear access
const TELEM& operator() (int i, int j) const
- access element
int Height() const throw()
- the height
int Width() const throw()
- the width
const FlatVec<W,T> Row(int i)
const FlatVec<W,const T> Row(int i) const
const FixSliceVector<W, T> Col(int i)
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.