pub trait ZeroThreshold {
// Required method
fn zero_threshold() -> Self;
}Expand description
Trait for types that have a zero threshold.
This trait defines the threshold below which values are considered zero for sparse matrix operations. Values below this threshold are automatically filtered out during construction to maintain sparsity.
Required Methods§
Sourcefn zero_threshold() -> Self
fn zero_threshold() -> Self
Returns the zero threshold for this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.