Function derive

Source
pub fn derive(coefficient: u32, exponent: u32) -> String
Expand description

This function takes two numbers as parameters, the first number being the coefficient, and the second number being the exponent. The exponent will never be 1, and neither number will ever be 0.

§Example

derive(7, 8)
returns “56x^7”