![]() |
NumCpp
2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Convenience container for holding a uniform array of NdArrays. More...
#include <DataCube.hpp>
Public Types | |
using | const_iterator = typename std::deque< NdArray< dtype > >::const_iterator |
using | iterator = typename std::deque< NdArray< dtype > >::iterator |
Convenience container for holding a uniform array of NdArrays.
|
default |
Default Constructor
|
inlineexplicit |
Constructor, preallocates to the input size
inSize |
Access method, with bounds checking. Returns the 2d z "slice" element of the cube.
inIndex |
Const access method, with bounds checking. Returns the 2d z "slice" element of the cube.
inIndex |
Returns a reference to the last 2d "slice" of the cube in the z-axis
|
inlinenoexcept |
Returns an const_iterator to the first 2d z "slice" of the cube.
|
inlinenoexcept |
Returns an iterator to the first 2d z "slice" of the cube.
|
inlinenoexcept |
Returns an const_iterator to the first 2d z "slice" of the cube.
|
inlinenoexcept |
Returns an const_iterator to 1 past the last 2d z "slice" of the cube.
|
inline |
Outputs the DataCube as a .bin file
inFilename |
|
inlinenoexcept |
Returns an const_iterator to 1 past the last 2d z "slice" of the cube.
|
inlinenoexcept |
Returns an iterator to 1 past the last 2d z "slice" of the cube.
Returns a reference to the front 2d "slice" of the cube in the z-axis
|
inlinenoexcept |
Tests whether or not the container is empty
|
inlinenoexcept |
Const access operator, no bounds checking. Returns the 2d z "slice" element of the cube.
inIndex |
|
inlinenoexcept |
Access operator, no bounds checking. Returns the 2d z "slice" element of the cube.
inIndex |
|
inlinenoexcept |
Removes the last z "slice" of the cube
Adds a new z "slice" to the end of the cube
inArray |
Returns the x/y shape of the cube
|
inlinenoexcept |
Returns the size of the z-axis of the cube
Slices the z dimension of the cube
inIndex | the flattend 2d index (row, col) to slice |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with NO bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with NO bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with NO bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with NO bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube
inIndex | the flattend 2d index (row, col) to slice |
|
inline |
Slices the z dimension of the cube with bounds checking
inIndex | the flattend 2d index (row, col) to slice |
Slices the z dimension of the cube with bounds checking
inIndex | the flattend 2d index (row, col) to slice |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |
|
inline |
Slices the z dimension of the cube with bounds checking
inRow | |
inCol | |
inSliceZ | the slice dimensions of the z-axis |