scale

Scale array size using custom interpolation function.

Implemented as convenience function which calls resize using scaled shape of the input slice as:

$(D_CODE scaled = resize(input, input.shape*scale))

Slice!(kind, packs, V*)
scale
(
alias interp = linear
V
ScaleValue
SliceKind kind
size_t[] packs
size_t SN
)
(
Slice!(kind, packs, V*) slice
,
ScaleValue[SN] scale
,
TaskPool pool = taskPool
)
if (
isFloatingPoint!ScaleValue &&
)

Meta