Tolerance

com.phasmidsoftware.number.core.inner.Tolerance
See theTolerance companion object
case class Tolerance(x: Double, maxDenom: BigInt)

Value class to define Tolerance.

Value parameters

maxDenom

used in the approximation of an irrational number -- whereby the denominator is limited to approximately this value.

x

the tolerance (epsilon) value.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product