Slice!(ChopIterator!(J*, Series!(I*, V*)), N - 1)
compressWithType
(
V
I = uint
J = size_t
Iterator
size_t N
SliceKind kind
)
(Slice!(Iterator, N, kind) slice ) if (
!
is(
Iterator :
FieldIterator!(
SparseField!
ST),
) &&
is(
DeepElementType!(
Slice!(
Iterator,
N,
kind)) :
V)
&&
N > 1
&&
isUnsigned!I
)
Returns compressed tensor with different element type. Note: allocates using GC.