Expand description
Rounding codec implementation for the numcodecs
API.
Structs§
- Positive
- Positive floating point number
- Round
Codec - Codec that rounds the data on encoding and passes through the input unchanged during decoding.
Enums§
- Round
Codec Error - Errors that may occur when applying the
RoundCodec
.
Functions§
- round
- Rounds the input
data
using$c = \text{round}\left( \frac{x}{precision} \right) \cdot precision$