STIR  6.2.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"
26 #include "stir/VectorWithOffset.h"
27 
28 START_NAMESPACE_STIR
29 
40 template <int num_dimensions, typename elemT>
42 {
43 public:
47 
54 
55  bool is_trivial() const override;
56 
57 protected:
59  void do_it(Array<num_dimensions, elemT>& array) const override;
60 };
61 
62 END_NAMESPACE_STIR
63 
64 #endif // SeparableArrayFunctionObject
Declaration of class stir::ArrayFunctionObject_1ArgumentImplementation.
This class implements an n -dimensional ArrayFunctionObject whose operation is separable.
Definition: SeparableArrayFunctionObject.h:41
A class for operations on n-dimensional Arrays.
Definition: ArrayFunctionObject.h:38
A templated class for vectors, but with indices starting not from 0.
Definition: ArrayFilter1DUsingConvolution.h:31
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
A convenience class for children of ArrayFunctionObject. It implements the 2 argument operator() in t...
Definition: ArrayFunctionObject_1ArgumentImplementation.h:43
defines the stir::VectorWithOffset class
This class defines multi-dimensional (numeric) arrays.
Definition: Array.h:73