Expand description
The scalar module provides a trait generic for scalars.
Traits§
- A trait for types that act as scalars in mathematical operations, like real numbers or complex numbers. I concider a scalar, any struct which contains all the traits listed bellow. f32 is an example if the Scalar implementation. In the future a Complex Number struct implementation could potentially fit and allign with all the traits listed bellow.