Interval

ai.dragonfly.math.interval.Interval
See theInterval companion object
case class Interval[DOMAIN](code: Int, min: DOMAIN, MAX: DOMAIN)(using `#`: Numeric[DOMAIN]) extends Sampleable[DOMAIN]

Attributes

Companion
object
Source
Interval.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Sampleable[DOMAIN]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contains(x: DOMAIN): Boolean

Attributes

Source
Interval.scala
inline def leftClosed: Boolean

Attributes

Source
Interval.scala
def random(r0: Random): DOMAIN

Attributes

Source
Interval.scala
def rangeContains(x: Double): Boolean

Attributes

Source
Interval.scala
inline def rightClosed: Boolean

Attributes

Source
Interval.scala
def setContains(x: Double): Boolean

Attributes

Source
Interval.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Interval.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val additiveIdentity: DOMAIN

Attributes

Source
Interval.scala
lazy val multiplicativeIdentity: DOMAIN

Attributes

Source
Interval.scala
lazy val norm: DOMAIN

Attributes

Source
Interval.scala