pub struct Prod<T>(pub T);
Expand description
乗算を演算とする代数的構造
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> BinaryOp for Prod<Matrix<T, N, N>>
impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> BinaryOp for Prod<Matrix<T, N, N>>
Source§impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> Identity for Prod<Matrix<T, N, N>>
impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> Identity for Prod<Matrix<T, N, N>>
impl<const M: u32> Associative for Prod<ConstModInt<M>>
impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> Associative for Prod<Matrix<T, N, N>>
impl Associative for Prod<f32>
impl Associative for Prod<f64>
impl Associative for Prod<i128>
impl Associative for Prod<i16>
impl Associative for Prod<i32>
impl Associative for Prod<i64>
impl Associative for Prod<i8>
impl Associative for Prod<isize>
impl Associative for Prod<u128>
impl Associative for Prod<u16>
impl Associative for Prod<u32>
impl Associative for Prod<u64>
impl Associative for Prod<u8>
impl Associative for Prod<usize>
impl<const M: u32> Commutative for Prod<ConstModInt<M>>
impl Commutative for Prod<f32>
impl Commutative for Prod<f64>
impl Commutative for Prod<i128>
impl Commutative for Prod<i16>
impl Commutative for Prod<i32>
impl Commutative for Prod<i64>
impl Commutative for Prod<i8>
impl Commutative for Prod<isize>
impl Commutative for Prod<u128>
impl Commutative for Prod<u16>
impl Commutative for Prod<u32>
impl Commutative for Prod<u64>
impl Commutative for Prod<u8>
impl Commutative for Prod<usize>
impl<T: Copy> Copy for Prod<T>
impl<T: Eq> Eq for Prod<T>
impl<const M: u32> Set for Prod<ConstModInt<M>>
impl<T: Copy + One + Zero + Add<Output = T> + Mul<Output = T>, const N: usize> Set for Prod<Matrix<T, N, N>>
impl Set for Prod<f32>
impl Set for Prod<f64>
impl Set for Prod<i128>
impl Set for Prod<i16>
impl Set for Prod<i32>
impl Set for Prod<i64>
impl Set for Prod<i8>
impl Set for Prod<isize>
impl Set for Prod<u128>
impl Set for Prod<u16>
impl Set for Prod<u32>
impl Set for Prod<u64>
impl Set for Prod<u8>
impl Set for Prod<usize>
impl<T> StructuralPartialEq for Prod<T>
Auto Trait Implementations§
impl<T> Freeze for Prod<T>where
T: Freeze,
impl<T> RefUnwindSafe for Prod<T>where
T: RefUnwindSafe,
impl<T> Send for Prod<T>where
T: Send,
impl<T> Sync for Prod<T>where
T: Sync,
impl<T> Unpin for Prod<T>where
T: Unpin,
impl<T> UnwindSafe for Prod<T>where
T: UnwindSafe,
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