ArrayUtils.h
Go to the documentation of this file.
73 void CopyRange2(const ArrayType1& input, size_t beginX, size_t endX, size_t beginY, size_t endY, ArrayType2* output);
84 void CopyRange3(const ArrayType1& input, size_t sizeX, size_t sizeY, size_t sizeZ, ArrayType2* output);
95 void CopyRange3(const ArrayType1& input, size_t beginX, size_t endX, size_t beginY, size_t endY, size_t beginZ, size_t endZ, ArrayType2* output);
112 void ExtrapolateToRegion(const ConstArrayAccessor2<T>& input, const ConstArrayAccessor2<char>& valid, unsigned int numberOfIterations, ArrayAccessor2<T> output);
129 void ExtrapolateToRegion(const ConstArrayAccessor3<T>& input, const ConstArrayAccessor3<char>& valid, unsigned int numberOfIterations, ArrayAccessor3<T> output);
void CopyRange3(const ArrayType1 &input, size_t sizeX, size_t sizeY, size_t sizeZ, ArrayType2 *output)
Copies 3-D input array to output array with sizeX and sizeY.
Definition: ArrayUtils-Impl.h:67
void CopyRange2(const ArrayType1 &input, size_t sizeX, size_t sizeY, ArrayType2 *output)
Copies 2-D input array to output array with sizeX and sizeY.
Definition: ArrayUtils-Impl.h:52
void ExtrapolateToRegion(const ConstArrayAccessor2< T > &input, const ConstArrayAccessor2< char > &valid, unsigned int numberOfIterations, ArrayAccessor2< T > output)
Extrapolates 2-D input data from 'valid' (1) to 'invalid' (0) region.
Definition: ArrayUtils-Impl.h:82
void ConvertToCSV(const ArrayType &data, std::ostream *stream)
Converts 2-D array to Comma Separated Value (CSV) stream.
Definition: ArrayUtils-Impl.h:225
Definition: pybind11Utils.h:24
void SetRange1(size_t size, const T &value, ArrayType *output)
Assigns value to 1-D array output with size.
Definition: ArrayUtils-Impl.h:22
void CopyRange1(const ArrayType1 &input, size_t size, ArrayType2 *output)
Copies input array to output array with size.
Definition: ArrayUtils-Impl.h:37