pub struct NttMatrix<K: ArraySize>(Array<NttVector<K>, K>);Expand description
A K x K matrix of NTT-domain polynomials. Each vector represents a row of the matrix, so that multiplying on the right just requires iteration.
Tuple Fields§
§0: Array<NttVector<K>, K>Implementations§
Trait Implementations§
impl<K: ArraySize> StructuralPartialEq for NttMatrix<K>
Auto Trait Implementations§
impl<K> Freeze for NttMatrix<K>
impl<K> RefUnwindSafe for NttMatrix<K>
impl<K> Send for NttMatrix<K>
impl<K> Sync for NttMatrix<K>
impl<K> Unpin for NttMatrix<K>
impl<K> UnwindSafe for NttMatrix<K>
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