|
| | CubeSlice (HyperCube< T > &_cube) |
| |
| | CubeSlice (NTL::Vec< T > &_data, const CubeSignature &_sig) |
| |
| | CubeSlice (const CubeSlice< T > &bigger, long i, long _dimOffset=1) |
| |
| | CubeSlice (HyperCube< T > &_cube, long i, long _dimOffset=1) |
| |
| void | copy (const ConstCubeSlice< T > &other) const |
| |
| T & | at (long i) const |
| |
| T & | operator[] (long i) const |
| |
| | ConstCubeSlice (const HyperCube< T > &_cube) |
| | initialize the slice to the full cube More...
|
| |
| | ConstCubeSlice (const NTL::Vec< T > &_data, const CubeSignature &_sig) |
| |
| | ConstCubeSlice (const ConstCubeSlice &bigger, long i, long _dimOffset=1) |
| |
| | ConstCubeSlice (const HyperCube< T > &_cube, long i, long _dimOffset=1) |
| |
| const CubeSignature & | getSig () const |
| | const ref to signature More...
|
| |
| long | getSize () const |
| | total size More...
|
| |
| long | getNumDims () const |
| | number of dimensions More...
|
| |
| long | getDim (long d) const |
| | size of dimension d More...
|
| |
| long | getProd (long d) const |
| | product of sizes of dimensions d, d+1, ... More...
|
| |
| long | getProd (long from, long to) const |
| | product of sizes of dimensions from, from+1, ..., to-1 More...
|
| |
| long | getCoord (long i, long d) const |
| | get coordinate in dimension d of index i More...
|
| |
| long | addCoord (long i, long d, long offset) const |
| | add offset to coordinate in dimension d of index i More...
|
| |
| long | numSlices (long d=1) const |
| | number of slices More...
|
| |
| long | sliceSize (long d=1) const |
| | size of one slice More...
|
| |
| long | numCols () const |
| | number of columns More...
|
| |
| const T & | at (long i) const |
| | read-only reference to element at position i, with bounds check More...
|
| |
| const T & | operator[] (long i) const |
| | read-only reference to element at position i, without bounds check More...
|
| |
template<typename T>
class helib::CubeSlice< T >
A lower-dimension slice of a hypercube.