pub fn div_scalar(self, c: isize) -> Result<Self, &'static str> {
        if c == 0 {
            Err("Cannot divide a polynomial by 0")
        } else {
            Ok(self.mul_scalar(1 / c))
        }
    }
/// Divides each term in the polynomial by a scalar.
/// If the scalar divisor is 0, an error is returned.
Divides each term in the polynomial by a scalar.
If the scalar divisor is 0, an error is returned.
Divides each term in the polynomial by a scalar . If the scalar divisor is 0 an error is returned .
pub fn div_scalar(self, c: isize) -> Result<Self, &'static str> {
        if c == 0 {
            Err("Cannot divide a polynomial by 0")
        } else {
            Ok(self.mul_scalar(1 / c))
        }
    }
pub fn div_scalar ( self , c : isize ) -> Result < Self , & ' static str > { if c == 0 { Err ( " " ) } else { Ok ( self . mul_scalar ( 1 / c ) ) } }
Divides each term in the polynomial by a scalar.
Divides each term in the polynomial by a scalar .
self
c
isize
self
c
isize