Polynomial
Polynomial coefficients model without fixation on specific context they are applied to.
Parameters
coefficients
constant is the leftmost coefficient.
Constructors
Functions
Properties
Extensions
Link copied to clipboard
Represent the polynomial as a regular context-less function.
Link copied to clipboard
fun <T, A : Ring<T>, NumericAlgebra<T>> Polynomial<T>.differentiate(algebra: A): Polynomial<T>
Content copied to clipboard
Create a polynomial witch represents differentiated version of this polynomial
Link copied to clipboard
fun <T, A : Field<T>, NumericAlgebra<T>> Polynomial<T>.integrate(algebra: A): Polynomial<T>
Content copied to clipboard
Create a polynomial witch represents indefinite integral version of this polynomial
fun <T : Comparable<T>> Polynomial<T>.integrate(algebra: Field<T>, range: ClosedRange<T>): T
Content copied to clipboard
Compute a definite integral of a given polynomial in a range
Link copied to clipboard
Evaluates the value of the given double polynomial for given double argument.
Evaluates the value of the given polynomial for given argument. https://en.wikipedia.org/wiki/Horner%27s_method