corda / net.corda.finance.contracts.math / Polynomial

Polynomial

class Polynomial

Represents a polynomial function of arbitrary degree.

Parameters

coefficients - polynomial coefficients in the order of degree (constant first, followed by higher degree term coefficients).

Constructors

<init>

Polynomial(coefficients: DoubleArray)

Represents a polynomial function of arbitrary degree.

Functions

getValue

fun getValue(x: Double): Double

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.