UniformDouble

com.phasmidsoftware.lascala.UniformDouble
See theUniformDouble companion object
case class UniformDouble(x: Double)

This is essentially a wrapper of Double where (implicitly) 0 <= x <= 1. Note that we would like to specify a require statement but such are not legal in Value types

Attributes

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

Members list

Value members

Concrete methods

def +(y: Double): Double

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