pub struct GcdConfig {
pub use_modular: bool,
pub use_subresultant: bool,
pub modulus: u64,
pub max_degree: u32,
}Expand description
Configuration for GCD computation.
Fields§
§use_modular: boolUse modular GCD algorithm.
use_subresultant: boolUse subresultant PRS.
modulus: u64Modulus for modular algorithm.
max_degree: u32Maximum degree to attempt.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcdConfig
impl RefUnwindSafe for GcdConfig
impl Send for GcdConfig
impl Sync for GcdConfig
impl Unpin for GcdConfig
impl UnsafeUnpin for GcdConfig
impl UnwindSafe for GcdConfig
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