Interval

it.grypho.scala.leonardo.scalar.Interval
See theInterval companion object
case class Interval(lo: Double, loIncl: Boolean, hi: Double, hiIncl: Boolean)

A closed/open real interval; endpoints may be infinite.

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 contains(x: Double): Boolean

Whether x lies inside.

Whether x lies inside.

Attributes

def isEmpty: Boolean

Whether the interval holds no points at all.

Whether the interval holds no points at all.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product