Evaluatable

com.phasmidsoftware.number.core.misc.Evaluatable
trait Evaluatable

A trait representing an entity that can be evaluated for an approximate double value.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ConFrac

Members list

Value members

Abstract methods

def toDouble(epsilon: Double, markov: Double): Option[Double]

Evaluate this Evaluatable object as a Double such that the absolute error between the true value and the result

Evaluate this Evaluatable object as a Double such that the absolute error between the true value and the result

  • is less than epsilon.

CONSIDER removing the markov parameter.

Value parameters

epsilon

the maximum allowable error.

markov

the Markov constant for this Evaluatable.

Attributes

Returns

an optional approximate value.