Expand description
Small numeric-invariant helpers shared across NEREIDS crates.
These live in nereids-core (the dependency-free foundation crate) so that
the same invariant is enforced identically everywhere instead of being
re-implemented per crate. Each helper returns the first offending
(index, value) rather than a formatted error, so the calling crate can
map the failure onto its own error type / message wording without
nereids-core having to know about IoError, FittingError, etc.
Functionsยง
- first_
non_ finite_ or_ negative - Locate the first element that is not finite-and-non-negative.