#include "datatype.h"
#include "apply.h"
#include "debug.h"
Go to the source code of this file.
◆ MRTRIX_OP [1/3]
Value: template <class Derived> \
FORCE_INLINE void operator ARG (const Eigen::MatrixBase<Derived>& vec) { \
assert (vec.rows() == image.size(
axis)); \
assert (vec.cols() == 1); \
for (image.index(
axis) = 0; image.index(
axis) < image.size(
axis); ++image.index(
axis)) \
image.value() ARG vec[image.index(
axis)]; \
}
◆ MRTRIX_OP [2/3]
Value:
for (image.index(
axis) = 0; image.index(
axis) < image.size(
axis); ++image.index(
axis)) \
image.value() ARG val; \
}
MR::default_type value_type
◆ MRTRIX_OP [3/3]
Value: template <class OtherImageType> \
FORCE_INLINE void operator ARG (ConstRow<OtherImageType>&& other) { \
assert (image.size(
axis) == other.image.size(other.axis)); \
for (image.index(
axis) = 0, other.image.index(other.axis) = 0; \
++image.index(
axis), ++other.image.index(other.axis)) \
}