DiscreteInterval

slash.interval.DiscreteInterval
trait DiscreteInterval[DOMAIN <: Int | Long] extends Interval[DOMAIN]

Attributes

Source
Interval.scala
Graph
Supertypes
trait Interval[DOMAIN]
trait Sampleable[DOMAIN]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def median: DOMAIN

Attributes

Source
Interval.scala

Inherited methods

def contains(x: DOMAIN): Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
def mean: Double

Attributes

Inherited from:
Interval
Source
Interval.scala
def norm: DOMAIN

Attributes

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

Attributes

Definition Classes
Inherited from:
Interval
Source
Interval.scala

Attributes

Inherited from:
Interval
Source
Interval.scala
inline def sample(n: Int, r: Random): Array[DOMAIN]

Attributes

Inherited from:
Sampleable
Source
Sampleable.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
Interval -> Any
Inherited from:
Interval
Source
Interval.scala

Inherited fields

val MAX: DOMAIN

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val closed: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
val code: Int

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val leftClosed: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val leftOpen: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
val min: DOMAIN

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val open: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val rightClosed: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val rightOpen: Boolean

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val set_MAX: DOMAIN

Attributes

Inherited from:
Interval
Source
Interval.scala
lazy val set_min: DOMAIN

Attributes

Inherited from:
Interval
Source
Interval.scala