pub struct IntCrtSolver { /* private fields */ }Expand description
Chinese Remainder Theorem solver for a system of congruences.
Solves: x ≡ r_i (mod m_i) for pairwise coprime moduli.
Implementations§
Source§impl IntCrtSolver
impl IntCrtSolver
Trait Implementations§
Source§impl Clone for IntCrtSolver
impl Clone for IntCrtSolver
Source§fn clone(&self) -> IntCrtSolver
fn clone(&self) -> IntCrtSolver
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntCrtSolver
impl Debug for IntCrtSolver
Auto Trait Implementations§
impl Freeze for IntCrtSolver
impl RefUnwindSafe for IntCrtSolver
impl Send for IntCrtSolver
impl Sync for IntCrtSolver
impl Unpin for IntCrtSolver
impl UnsafeUnpin for IntCrtSolver
impl UnwindSafe for IntCrtSolver
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