- cut
T[] cut(T[] arr, size_t N)
Undocumented in source.
- getCoord
size_t[] getCoord(A[] size, size_t index)
get coordinate in N-dim space by N-dim size and line index
- getIndex
coord_t getIndex(A[] size, B[] crd)
get index of element in 1-dim array by N-dim coordinate
- getOrigIndexByLayerCoord
size_t getOrigIndexByLayerCoord(A[] size, size_t dimNo, size_t layerIndex, size_t layerNo)
get line index in origin array by layer line index and layer number
- imEnforce
void imEnforce(bool val, string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
- isAllCompPositive
bool isAllCompPositive(V v)
- paste
T[] paste(T[] arr, size_t N, T value)
Undocumented in source.
- redimSize
coord_t[] redimSize(size_t K, size_t N, A[] size)
- redimSize
coord_t[] redimSize(size_t N, A[] size)