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

Go to the source code of this file.

Macros

#define MRTRIX_OP(ARG)
 

Functions

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

Macro Definition Documentation

◆ MRTRIX_OP

#define MRTRIX_OP (   ARG)
Value:
template <class ImageType> inline Array& 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() (row.image.index (row.axis), 0) ARG row.image.value(); \
return *this; \
}

Definition at line 17 of file array.h.

Function Documentation

◆ operator=()

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

Definition at line 25 of file array.h.