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 Product
trait Equals
trait Sampleable[DOMAIN]
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

Source:
Interval.scala
inline def rightClosed: Boolean

Attributes

Source:
Interval.scala

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

Attributes

Inherited from:
Product

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