Macro poly

Source
macro_rules! poly {
    ($($x:expr),+ $(,)?) => { ... };
    () => { ... };
}
Expand description

Creates a new polynomial.

§Examples:

poly![1, 2, -4]; // x^2 + 2x - 4
poly![]; // empty polynomial