STIR 6.4.0
SeparableArrayFunctionObject.h
Go to the documentation of this file.
1//
2//
12/*
13 Copyright (C) 2000- 2009, Hammersmith Imanet Ltd
14 This file is part of STIR.
15
16 SPDX-License-Identifier: Apache-2.0
17
18 See STIR/LICENSE.txt for details
19*/
20
21#ifndef __stir_SeparableArrayFunctionObject_H__
22#define __stir_SeparableArrayFunctionObject_H__
23
25#include "stir/shared_ptr.h"
27
28START_NAMESPACE_STIR
29
40template <int num_dimensions, typename elemT>
42{
43public:
47
54
55 bool is_trivial() const override;
56
57protected:
59 void do_it(Array<num_dimensions, elemT>& array) const override;
60};
61
62END_NAMESPACE_STIR
63
64#endif // SeparableArrayFunctionObject
Declaration of class stir::ArrayFunctionObject_1ArgumentImplementation.
defines the stir::VectorWithOffset class
A convenience class for children of ArrayFunctionObject. It implements the 2 argument operator() in t...
Definition ArrayFunctionObject_1ArgumentImplementation.h:44
A class for operations on n-dimensional Arrays.
Definition ArrayFunctionObject.h:38
This class defines multi-dimensional (numeric) arrays.
Definition Array.h:78
SeparableArrayFunctionObject()
Default constructor, results in a trivial ArrayFunctionObject.
Definition SeparableArrayFunctionObject.cxx:29
bool is_trivial() const override
Should return true when the operations won't modify the object at all.
Definition SeparableArrayFunctionObject.cxx:91
A templated class for vectors, but with indices starting not from 0.
Definition VectorWithOffset.h:65
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...