MeVisLab Toolbox Reference
mlMatrixTemplate.h File Reference
#include <mlInitSystemML.h>
#include <mlPrintTemplateErrors.h>
#include <ThirdPartyWarningsDisable.h>
#include <iostream>
#include <valarray>
#include <numeric>
#include <iterator>
#include <ThirdPartyWarningsRestore.h>

Go to the source code of this file.

Classes

class  ml::Slice_iter< T >
 Templated support class for class MatrixTemplate to allow fast element access organisation by slicing This auxiliary class allows the access to matrix elements stored in an valarray by std::... algorithms using the itterator programming model. More...
 
class  ml::Cslice_iter< T >
 Templated support class for class MatrixTemplate to allow fast element access organisation by slicing using const references This auxiliary class allows the access to matrix elements stored in an valarray by std::... algorithms using the itterator programming model. More...
 
class  ml::MatrixTemplate< T >
 MatricTemplate implements general Matrix class based on valarray of objects with Template class type for nummeric calculations with dynamic size More...
 
class  ml::MatrixSizedTemplate< T, SIZE_X, SIZE_Y >
 general Matrix class based on MatrixTemplate<T> to allow fixed size setting with object declaration. More...
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Functions

template<class T >
T ml::mul (const Cslice_iter< T > &v1, const std::valarray< T > &v2)
 implementation of (global) operator functions to assist MatrixTemplate class
 
template<class T >
std::valarray< Tml::operator* (const MatrixTemplate< T > &m, const std::valarray< T > &v)
 implements standard matrix-vector multiplication
 
template<class T >
std::valarray< Tml::mul_mv (const MatrixTemplate< T > &m, std::valarray< T > &v)
 alternative definition of m*v
 
template<class T >
std::valarray< Tml::operator* (std::valarray< T > &v, const MatrixTemplate< T > &m)
 implements standard vector-matrix multiplication
 
template<class T >
std::ostream & ml::operator<< (std::ostream &os, MatrixTemplate< T > &m)
 override operator<<(.,.) for class MatrixTemplate<T>