Skip to content

lazymatrix::Scalar ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub trait Scalar: num_traits::Float + num_traits::FromPrimitive + std::iter::Sum + std::fmt::Debug

Numeric scalar element type.

This is a blanket-implemented alias for the bound bundle the crate relies on, so any floating-point type that satisfies the underlying num-traits bounds (notably f32 and f64) is a Scalar automatically.

Released under the MIT and Apache 2.0 licenses.