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

Go to the source code of this file.

Macros

#define MRTRIX_OP(ARG)
 

Functions

template<class ImageType >
Derived & operator= (const MR::Helper::ConstRow< ImageType > &row)
 
template<class ImageType >
Derived & operator+= (const MR::Helper::ConstRow< ImageType > &row)
 
template<class ImageType >
Derived & operator-= (const MR::Helper::ConstRow< ImageType > &row)
 

Macro Definition Documentation

◆ MRTRIX_OP

#define MRTRIX_OP (   ARG)
Value:
template <class ImageType> \
inline Derived& 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 derived(); \
}

Definition at line 17 of file dense_base.h.

Function Documentation

◆ operator+=()

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

Definition at line 28 of file dense_base.h.

◆ operator-=()

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

Definition at line 29 of file dense_base.h.

◆ operator=()

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

Definition at line 27 of file dense_base.h.