ExpModCost

scalus.uplc.eval.ThreeArguments.ExpModCost
case class ExpModCost(costFun: ExpModCostingFunction) extends ThreeArguments

ExpMod cost function for modular exponentiation.

Cost formula: if a <= m then cost0 else cost0 + cost0/2 where cost0 = c00 + c11 * e * m + c12 * e * m^2

Attributes

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

Members list

Value members

Concrete methods

Inherited methods

Attributes

Inherited from:
ThreeArguments
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product