Developer documentation
Version 3.0.3-105-gd3941f44
matrix.h File Reference

Go to the source code of this file.

Macros

#define MRTRIX_OP(ARG)
 

Functions

template<class ImageType >
 Matrix (const MR::Helper::ConstRow< ImageType > &row)
 
template<class ImageType >
 Matrix (const MR::Helper::Row< ImageType > &row)
 
template<class ImageType >
Matrixoperator= (const MR::Helper::ConstRow< ImageType > &row)
 

Macro Definition Documentation

◆ MRTRIX_OP

#define MRTRIX_OP (   ARG)
Value:
template <class ImageType> inline Matrix& operator ARG (const MR::Helper::ConstRow<ImageType>& row) { \
this->resize (row.image.size(row.axis),1); \
for (row.image.index(row.axis) = 0; row.image.index (row.axis) < row.image.size (row.axis); ++row.image.index (row.axis)) \
this->operator() (ssize_t (row.image.index (row.axis)), 0) ARG row.image.value(); \
return *this; \
}
Matrix(const MR::Helper::ConstRow< ImageType > &row)
Definition: matrix.h:17

Definition at line 20 of file matrix.h.

Function Documentation

◆ Matrix() [1/2]

template<class ImageType >
Matrix ( const MR::Helper::ConstRow< ImageType > &  row)

Definition at line 17 of file matrix.h.

◆ Matrix() [2/2]

template<class ImageType >
Matrix ( const MR::Helper::Row< ImageType > &  row)

Definition at line 18 of file matrix.h.

◆ operator=()

template<class ImageType >
Matrix & operator= ( const MR::Helper::ConstRow< ImageType > &  row)
inline

Definition at line 28 of file matrix.h.