ClikaRT::ops::split_by_size
function
split_by_size()
Split along dim into pieces of chunk_size, ceil(extent / chunk_size) of them, the last possibly shorter. Returns VIEWS sharing the source's storage (no copy).
Throws
ClikaRT::Error: (INVALID_ARGUMENT) whenchunk_sizeis not positive (code_name()carries the reason).
Returns: the per-piece views.
Declared in ClikaRT/compute/ops.h, line 3387