rlst 0.9.0

A Rust native linear algebra library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Marker traits for number relations expressed through types.

/// Is one more than
pub trait IsGreaterByOne<const N: usize> {}
/// Is one less than
pub trait IsSmallerByOne<const N: usize> {}
/// Is greater than zero
pub trait IsGreaterZero {}

/// Is smaller than a given number a
pub trait IsSmallerThan<const N: usize> {}

/// D is the result of a difference
pub trait SubtractEqual<const D: usize> {
    /// The Output value of the subtraction
    const OUTPUT: usize;
}