Package: numops 1.0.0
numops: Lightweight Numerical Operations
Provides dependency-free helpers for recurring numerical tasks on vectors, matrices, and arrays. Operations cover bounds, interpolation, remapping, division, Euclidean norms, normalization, and adjacent differences. Multi-input operations use strict scalar recycling, reject incompatible lengths, and preserve names, dimensions, and dimension names where applicable. Explicit handling of invalid intervals, zero denominators, and zero norms gives consistent behavior for common edge cases.
Authors:
numops_1.0.0.tar.gz
numops_1.0.0.zip(r-4.7-any)numops_1.0.0.zip(r-4.6-any)numops_1.0.0.zip(r-4.5-any)
numops_1.0.0.tgz(r-4.6-any)numops_1.0.0.tgz(r-4.5-any)
numops_1.0.0.tar.gz(r-4.7-any)numops_1.0.0.tar.gz(r-4.6-any)
numops_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
numops/json (API)
| # Install 'numops' in R: |
| install.packages('numops', repos = c('https://macosso.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/macosso/numops/issues
Last updated from:d78f66c62d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 102 | ||
| source / vignettes | OK | 175 | ||
| linux-release | OK | 100 | ||
| macos-release | OK | 153 | ||
| macos-oldrel | OK | 162 | ||
| windows-devel | OK | 61 | ||
| windows-release | OK | 64 | ||
| windows-oldrel | OK | 47 | ||
| wasm-release | OK | 75 |
Exports:adjacent_differenceclampclamp01divide_orin_rangeinv_lerpl2_normlerpmidpointnormalize_l2remapwrap
Dependencies:
Last update: 2026-08-26
Started: 2026-08-26
Last update: 2026-08-26
Started: 2026-08-26
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Adjacent differences with preserved length | adjacent_difference |
| Clamp values to an interval | clamp |
| Clamp values to the unit interval | clamp01 |
| Divide with a fallback value | divide_or |
| Test whether values are in an interval | in_range |
| Inverse linear interpolation | inv_lerp |
| Euclidean norm | l2_norm |
| Linear interpolation | lerp |
| Midpoint between values | midpoint |
| Normalize to unit Euclidean length | normalize_l2 |
| Remap values between intervals | remap |
| Wrap values to a periodic interval | wrap |
