rmatrix_ks 1.0.0

matrix and some algebra in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! # traits::zero
//!
//! Types that implement this trait have the concept of ZERO.

/// Concept of ZERO.
pub trait Zero {
    /// Return the ZERO number.
    fn zero() -> Self;

    /// Validate whether a number is ZERO.
    fn is_zero(&self) -> bool;
}