Expand description
(x-o) * s
codec implementation for the numcodecs
API.
Structs§
- Fixed offset-scale codec which calculates
c = (x-o) / s
on encoding andd = (c*s) + o
on decoding.
Enums§
- Errors that may occur when applying the
FixedOffsetScaleCodec
.
Traits§
- Floating point types.
Functions§
- Compute
(x-o) / s
over the elements of the inputdata
array. - Compute
(x*s) + o
over the elements of the inputdata
array. - Compute
(x*s) + o
over the elements of the inputdata
array and write them into theout
put array.