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

[more] Mat() throw()
do not initialize
[more] Mat(const Mat & m) throw()
copy matrix
[more]template<typename TB> Mat(const Expr<TB> & m)
assign values
[more] Mat(TSCAL s) throw()
fill with scalar
[more]template<typename TB> Mat& operator= (const Expr<TB> & m)
assign values
[more]Mat& operator= (const Mat & m) throw()
copy matrix
[more]Mat& operator= (TSCAL s) throw()
fill values
[more]TELEM& operator() (int i)
linear access
[more]TELEM& operator() (int i, int j)
access element
[more]const TELEM& operator() (int i) const
linear access
[more]const TELEM& operator() (int i, int j) const
access element
[more]int Height() const throw()
the height
[more]int Width() const throw()
the width
[more]const FlatVec<W,T> Row(int i)
[more]const FlatVec<W,const T> Row(int i) const
[more]const FixSliceVector<W, T> Col(int i)


Inherited from MatExpr:


Inherited from Expr:

Public Methods

oT& Spec()
oconst T& Spec() const

o Mat() throw()
do not initialize

o Mat(const Mat & m) throw()
copy matrix

otemplate<typename TB> Mat(const Expr<TB> & m)
assign values

o Mat(TSCAL s) throw()
fill with scalar

otemplate<typename TB> Mat& operator= (const Expr<TB> & m)
assign values

oMat& operator= (const Mat & m) throw()
copy matrix

oMat& operator= (TSCAL s) throw()
fill values

oTELEM& operator() (int i)
linear access

oTELEM& operator() (int i, int j)
access element

oconst TELEM& operator() (int i) const
linear access

oconst TELEM& operator() (int i, int j) const
access element

oint Height() const throw()
the height

oint Width() const throw()
the width

oconst FlatVec<W,T> Row(int i)

oconst FlatVec<W,const T> Row(int i) const

oconst 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++.