19#ifndef __stir_ArrayFunctionObject_2ArgumentImplementation_H__
20#define __stir_ArrayFunctionObject_2ArgumentImplementation_H__
40template <
int num_dimensions,
typename elemT>
48 (*this)(array, copy_array);
53 do_it(out_array, in_array);
Declaration of class stir::ArrayFunctionObject.
defines the stir::Array class for multi-dimensional (numeric) arrays
A convenience class for children of ArrayFunctionObject. It implements the in-place operator() in ter...
Definition ArrayFunctionObject_2ArgumentImplementation.h:42
void operator()(Array< num_dimensions, elemT > &array) const override
in-place modification of array, implemented inline
Definition ArrayFunctionObject_2ArgumentImplementation.h:45
void operator()(Array< num_dimensions, elemT > &out_array, const Array< num_dimensions, elemT > &in_array) const override
result stored in another array
Definition ArrayFunctionObject_2ArgumentImplementation.h:51
A class for operations on n-dimensional Arrays.
Definition ArrayFunctionObject.h:38
This class defines multi-dimensional (numeric) arrays.
Definition Array.h:78