pub struct MaxMulAlgebra;Expand description
Trait Implementations§
Source§impl Semiring for MaxMulAlgebra
Max-times semiring over MaxMul<f64>.
impl Semiring for MaxMulAlgebra
Max-times semiring over MaxMul<f64>.
zero()= MaxMul(0.0)one()= MaxMul(1.0)add(a, b)= max(a, b)mul(a, b)= a × b (ordinary multiplication)
Source§impl TensorPrims<MaxMulAlgebra> for CpuBackend
impl TensorPrims<MaxMulAlgebra> for CpuBackend
Source§fn has_extension_for<T: ScalarBase>(_ext: Extension) -> bool
fn has_extension_for<T: ScalarBase>(_ext: Extension) -> bool
Tropical backends do not support extended operations.
Source§type Plan<T: ScalarBase> = TropicalPlan<T>
type Plan<T: ScalarBase> = TropicalPlan<T>
Backend-specific plan type (no type erasure).
Auto Trait Implementations§
impl Freeze for MaxMulAlgebra
impl RefUnwindSafe for MaxMulAlgebra
impl Send for MaxMulAlgebra
impl Sync for MaxMulAlgebra
impl Unpin for MaxMulAlgebra
impl UnwindSafe for MaxMulAlgebra
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