Compounds | |
| class | mat::matrixadapter |
Functions | |
| template<classMatrix> Matrix::value_type | sum (const Matrix& A) |
| This would have been better placed in MTL's namespace, but it would conflict with MTL's sum, which only works for vectors (grr!). More... | |
| template<classMatrix> Matrix::size_type | size (const Matrix& A) |
| General version for most matrices supporting nrows and ncols(). More... | |
| template<classMatrix> Matrix& | set (Matrix &A, const typename Matrix::value_type B) |
| Replacement for scalar operator= that works with most matrices. More... | |
| template<classMatrix> Matrix::value_type | elem (const Matrix &A, typename Matrix::size_type i, typename Matrix::size_type j) |
| Replacement for 0-based operator[][] that works with most matrices. More... | |
| template<classMatrix> const Matrix::SubMatrixType | submatrix (const Matrix &A, typename Matrix::size_type i1, typename Matrix::size_type i2, typename Matrix::size_type j1, typename Matrix::size_type j2) |
| Returns a submatrix or region for a matrix of most types. More... | |
| template<classT> TNT::Subscript | size (TNT::const_Region2D< TNT::Matrix<T> >& A) |
| TNT-specific specialization to make up for missing size() function in TNT Regions. More... | |
| template<classMatrix> Matrix::value_type | edge_average (Matrix& mat) |
| Computes the average of a matrix's edge values. More... | |
| template<classT> T | edge_average (TNT::Matrix<T>& mat) |
| Computes the average of a matrix's edge values. More... | |
| template<classMatrix> Matrix::size_type | max_nrows (Matrix &A) |
| template<classMatrix> Matrix::size_type | max_ncols (Matrix &A) |
| template<classMatrix, classVector> string | gnuplot (const Matrix& A, const string& title, const string& outputfilename, const string& gpscript, const Vector& R, const Vector& C) |
| General routine for plotting matrices using gnuplot. More... | |
| template<classMatrix> string | gnuplot (const Matrix& A, const string& title="", const string& outputfilename="", const string& gpscript="", AxisCoord Ro=0, AxisCoord Rm=1, AxisCoord Co=0, AxisCoord Cm=1) |
| Shortcut version for plotting a matrix using gnuplot; generates linearly spaced labels. More... | |
This namespace can also be used for template routines which cannot be in the namespace of a particular matrix class because of conflicts with non-matrix functions already defined there.
|
||||
|
Computes the average of a matrix's edge values. TNT-specific version; TNT has a different Fortran-based submatrix concept. |
|
||||
|
Computes the average of a matrix's edge values. This version is coded generically, although it depends upon an MTL-like implementation of submatrices. |
|
||||||||
|
Replacement for 0-based operator[][] that works with most matrices.
Definition at line 338 of file matrix.h. Referenced by Plot::MatrixImage::MatrixImage(). |
|
||||||||||||||||||
|
Shortcut version for plotting a matrix using gnuplot; generates linearly spaced labels.
Definition at line 303 of file tnt_gnuplot.h. |
|
||||||||||||||
|
General routine for plotting matrices using gnuplot.
Definition at line 252 of file tnt_gnuplot.h. |
|
||||
|
|
|
||||
|
|
|
||||||
|
Replacement for scalar operator= that works with most matrices.
|
|
||||
|
TNT-specific specialization to make up for missing size() function in TNT Regions.
|
|
||||
|
General version for most matrices supporting nrows and ncols().
Definition at line 316 of file matrix.h. Referenced by edge_average(). |
|
||||||||||||
|
Returns a submatrix or region for a matrix of most types. As usual, the first index is inclusive, and the second is exclusive; both are zero-based. The submatrix is const to avoid semantic differences between MTL and TNT regions. |
|
||||
|
This would have been better placed in MTL's namespace, but it would conflict with MTL's sum, which only works for vectors (grr!).
Definition at line 308 of file matrix.h. Referenced by KernelFactory::create(), and edge_average(). |
1.2.1 written by Dimitri van Heesch,
© 1997-2000