numir.core.manipulation

Various slice manipulation (e.g., concatenate, squeeze, resize, alongDim)

Members

Functions

alongDim
deprecated auto alongDim(S s)
Undocumented in source. Be warned that the author may not have intended to support it.
concatenate
auto concatenate(Slices slices)

Join multiple slices along an axis.

nparray
deprecated auto nparray(T a)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
auto resize(S s, size_t size)

Returns a resized n-dimensional slice s with new size. When new size is larger, new slice is padded with 0. When new size is smaller, new slice is just a subslice of s.

squeeze
deprecated auto squeeze(S s)
Undocumented in source. Be warned that the author may not have intended to support it.
unsqueeze
deprecated auto unsqueeze(S s)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta