/// Creates a new `Poly` from the underlying representation which has nonzero
/// leading coefficient.
///
/// # Panics
/// Panics if `rep` if not empty and has a leading coefficient which is zero.
Creates a new `Poly` from the underlying representation which has nonzero
leading coefficient.
Creates a new ` Poly ` from the underlying representation which has nonzero leading coefficient .
pub fn new_norm(rep: T) -> Self {
        assert!(rep.borrow().last().map_or(true, |x| !x.is_zero()));
        Self {
            rep,
            traits: PhantomData,
        }
    }
pub fn new_norm ( rep : T ) -> Self { assert ! ( rep borrow ( ) last ( ) map_or ( true x x is_zero ( ) ) ) ; Self { rep , traits : PhantomData , } }
Creates a new `Poly` from the underlying representation which has nonzero
leading coefficient.
Creates a new ` Poly ` from the underlying representation which has nonzero leading coefficient .
rep
T
panics
Panics if `rep` if not empty and has a leading coefficient which is zero.
Panics if ` rep ` if not empty and has a leading coefficient which is zero .