Skip to main content

ModMakeMonicAssign

Trait ModMakeMonicAssign 

Source
pub trait ModMakeMonicAssign<M> {
    type Factor;

    // Required method
    fn mod_make_monic_assign(&mut self, m: M) -> Result<(), Self::Factor>;
}
Expand description

Makes a polynomial monic modulo $m$ in place.

See ModMakeMonic. If the leading coefficient is not invertible, the polynomial is left unchanged.

Required Associated Types§

Source

type Factor

The type of the factor of $m$ returned when the leading coefficient is not invertible.

Required Methods§

Source

fn mod_make_monic_assign(&mut self, m: M) -> Result<(), Self::Factor>

Makes a polynomial monic modulo m in place.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§