num-valid 0.3.3

A robust numerical library providing validated types for real and complex numbers to prevent common floating-point errors like NaN propagation. Features a generic, layered architecture with support for native f64 and optional arbitrary-precision arithmetic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![deny(rustdoc::broken_intra_doc_links)]

//! Numerical algorithms for improved accuracy and stability.
//!
//! This module provides algorithms that enhance numerical precision beyond
//! standard floating-point operations.
//!
//! ## Available Algorithms
//!
//! - [`neumaier_sum`]: Compensated summation algorithm for accurate sums of floating-point numbers
//! - [`l2_norm`]: L2 norm using BLAS/LAPACK-style incremental scaling

/// Neumaier compensated summation algorithm for accurate floating-point sums.
pub mod neumaier_sum;

/// L2 norm using BLAS/LAPACK-style incremental scaling.
pub mod l2_norm;