pub struct RealF64(pub f64);Expand description
Real semiring: add is +, mul is *, zero is 0.0, one is 1.0.
Equality is the underlying f64 equality (so NaN is never equal to
itself); algorithm fixtures should avoid NaN. RealF64::total_cmp
provides a total order for matrix algorithms that pivot or sort.
Tuple Fields§
§0: f64Implementations§
Trait Implementations§
impl Copy for RealF64
impl StructuralPartialEq for RealF64
Auto Trait Implementations§
impl Freeze for RealF64
impl RefUnwindSafe for RealF64
impl Send for RealF64
impl Sync for RealF64
impl Unpin for RealF64
impl UnsafeUnpin for RealF64
impl UnwindSafe for RealF64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more