TwoVariableQuadraticFunction

scalus.uplc.eval.TwoVariableQuadraticFunction

c00 + c10x + c01y + c20x^2 + c11cy + c02y^2

Attributes

Note

Minimum values for two-variable quadratic costing functions. Unlike most of our other costing functions our use cases for two-variable quadratic costing functions may require one or more negative coefficients, so there's a danger that we could return a negative cost. This is unlikely, but we make certain that it never happens by returning a result that is at never smaller than a minimum value that is stored along with the coefficients of the function.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product