1#ifndef __FIBER_TYPEDARRAYOPERATIONS_HPP
2#define __FIBER_TYPEDARRAYOPERATIONS_HPP
4#include "TypedArray.hpp"
22template <
class Result_t,
class T>
30 if (!
CRes)
return false;
49template <
class Result_t,
class T>
57 if (!
CRes)
return false;
76template <
class Result_t,
class T,
class Operand_t>
92 if (!
CRes)
return false;
104 out = func( in,
inR );
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
index_t count() const
Return the number of steps which can be traversed through this ElementIterator.
Definition HyperslabParameters.hpp:147
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
bool applyFunctor(const TypedArray< Result_t > &Result, const TypedArray< T > &Data, const std::function< Result_t(const T &)> &func)
Apply a unary functor to a TypedArray.
Definition TypedArrayOperations.hpp:23
IndexTypeConfig< sizeof(void *)>::index_t index_t
Define the index type as according to the size of a pointer, i.e.
Definition Index.hpp:22