| 
|   | 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::ConstCubeSlice< T >
A constant lower-dimension slice of a hypercube. 
A ConstCubeSlice acts like a pointer to a lower dimensional constant subcube of a hypercube. It is initialized using a reference to a hypercube, which must remain alive during the lifetime of the slice, to prevent dangling pointers. The subclass CubeSlice works also with non-constant cubes and subcubes.
In addition, for greater flexibility, a "slice" may be initialized with a vector and a signature, rather than a cube