Polynomial

fun <C> Polynomial(coefficients: List<C>, reverse: Boolean = false): Polynomial<C>(source)
fun <C> Polynomial(vararg coefficients: C, reverse: Boolean = false): Polynomial<C>(source)

Constructs a Polynomial instance with provided coefficients. The collection of coefficients will be reversed if reverse parameter is true.