DoubleRange

org.nlogo.api.DoubleRange
case class DoubleRange(start: Double, stop: Double, step: Double, inclusive: Boolean) extends IndexedSeq[Double]

Attributes

Source
DoubleRange.scala
Graph
Supertypes

Members list

Value members

Concrete methods

override def apply(idx: Int): Double

Attributes

Definition Classes
Source
DoubleRange.scala
override def init: IndexedSeq[Double]

Attributes

Definition Classes
Source
DoubleRange.scala
override def tail: IndexedSeq[Double]

Attributes

Definition Classes
Source
DoubleRange.scala

Inherited methods

final def ++[B >: Double](suffix: IterableOnce[B]): IndexedSeq[B]

Attributes

Inherited from:
IterableOps
final override def ++:[B >: Double](prefix: IterableOnce[B]): IndexedSeq[B]

Attributes

Definition Classes
Inherited from:
SeqOps
final def +:[B >: Double](elem: B): IndexedSeq[B]

Attributes

Inherited from:
SeqOps
final def :+[B >: Double](elem: B): IndexedSeq[B]

Attributes

Inherited from:
SeqOps
final def :++[B >: Double](suffix: IterableOnce[B]): IndexedSeq[B]

Attributes

Inherited from:
SeqOps
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Double => C): PartialFunction[Int, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
def appended[B >: Double](elem: B): IndexedSeq[B]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def applyOrElse[A1 <: Int, B1 >: Double](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
override def canEqual(that: Any): Boolean

Attributes

Definition Classes
Inherited from:
IndexedSeq

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => Double

Attributes

Inherited from:
Function1
final override def concat[B >: Double](suffix: IterableOnce[B]): IndexedSeq[B]

Attributes

Definition Classes
Inherited from:
SeqOps
def contains[A1 >: Double](elem: A1): Boolean

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def copyToArray[B >: Double](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Double](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Double](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (Double, B) => Boolean): Boolean

Attributes

Inherited from:
SeqOps
def count(p: Double => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def diff[B >: Double](that: Seq[B]): IndexedSeq[Double]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
override def drop(n: Int): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def dropRight(n: Int): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
PartialFunction
override def empty: IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IterableFactoryDefaults

Attributes

Inherited from:
SeqOps
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Seq -> Equals -> Any
Inherited from:
Seq

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps
def flatten[B](implicit asIterable: Double => IterableOnce[B]): IndexedSeq[B]

Attributes

Inherited from:
IterableOps
def fold[A1 >: Double](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, Double) => B): B

Attributes

Inherited from:
IterableOnceOps
override def foldRight[B](z: B)(op: (Double, B) => B): B

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: Double => U): Unit

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableFactoryDefaults
def groupBy[K](f: Double => K): Map[K, IndexedSeq[Double]]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: Double => K)(f: Double => B): Map[K, IndexedSeq[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: Double => K)(f: Double => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
override def hashCode(): Int

Calculates a hash code value for the object.

Calculates a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Seq -> Any
Inherited from:
Seq
override def head: Double

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def headOption: Option[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def indexOf[B >: Double](elem: B): Int

Attributes

Inherited from:
SeqOps
def indexOf[B >: Double](elem: B, from: Int): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: Double](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: Double](that: Seq[B], from: Int): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def indices: Range

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
override def isEmpty: Boolean

Attributes

Definition Classes
Inherited from:
SeqOps
override def isTraversableAgain: Boolean

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Definition Classes
Inherited from:
IndexedSeq

Attributes

Inherited from:
IndexedSeqOps
override def knownSize: Int

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def last: Double

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: Double](elem: B, end: Int): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[Double, B, Iterable.this.type]

Attributes

Inherited from:
Iterable
final override def lengthCompare(that: Iterable[_]): Int

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
SeqOps
def lift: Int => Option[Double]

Attributes

Inherited from:
PartialFunction
override def map[B](f: Double => B): IndexedSeq[B]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def max[B >: Double](implicit ord: Ordering[B]): Double

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: Double => B)(implicit ord: Ordering[B]): Double

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: Double => B)(implicit ord: Ordering[B]): Option[Double]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: Double](implicit ord: Ordering[B]): Option[Double]

Attributes

Inherited from:
IterableOnceOps
def min[B >: Double](implicit ord: Ordering[B]): Double

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: Double => B)(implicit ord: Ordering[B]): Double

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: Double => B)(implicit ord: Ordering[B]): Option[Double]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: Double](implicit ord: Ordering[B]): Option[Double]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableFactoryDefaults

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
PartialFunction
def padTo[B >: Double](len: Int, elem: B): IndexedSeq[B]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps
def partitionMap[A1, A2](f: Double => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
override def prepended[B >: Double](elem: B): IndexedSeq[B]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
SeqOps
def product[B >: Double](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def reduce[B >: Double](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: Double](op: (B, Double) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Double](op: (B, Double) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: Double](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: Double](op: (Double, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: Double](op: (Double, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
override def reverse: IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def runWith[U](action: Double => U): Int => Boolean

Attributes

Inherited from:
PartialFunction
override def sameElements[B >: Double](o: IterableOnce[B]): Boolean

Attributes

Definition Classes
Inherited from:
IndexedSeq

Attributes

Inherited from:
SeqOps
def scan[B >: Double](z: B)(op: (B, B) => B): IndexedSeq[B]

Attributes

Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, Double) => B): IndexedSeq[B]

Attributes

Inherited from:
IterableOps
def scanRight[B](z: B)(op: (Double, B) => B): IndexedSeq[B]

Attributes

Inherited from:
IterableOps
override def search[B >: Double](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def search[B >: Double](elem: B)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
SeqOps
final def segmentLength(p: Double => Boolean): Int

Attributes

Inherited from:
SeqOps
final override def size: Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int

Attributes

Definition Classes
Inherited from:
SeqOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
override def slice(from: Int, until: Int): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
def sortBy[B](f: Double => B)(implicit ord: Ordering[B]): IndexedSeq[Double]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def sorted[B >: Double](implicit ord: Ordering[B]): IndexedSeq[Double]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps
override def splitAt(n: Int): (IndexedSeq[Double], IndexedSeq[Double])

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[Double, S]): S & EfficientSplit

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
def sum[B >: Double](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOps
override def take(n: Int): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps
override def takeRight(n: Int): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
IterableOps
override def tapEach[U](f: Double => U): IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IterableOps
def to[C1](factory: Factory[Double, C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: Double : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: Double]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
final override def toIndexedSeq: IndexedSeq[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeq

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: Double <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
final override def toSeq: Seq.this.type

Attributes

Definition Classes
Inherited from:
Seq
def toSet[B >: Double]: Set[B]

Attributes

Inherited from:
IterableOnceOps
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
Seq -> Function1 -> Iterable -> Any
Inherited from:
Seq

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: Double => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])

Attributes

Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: Double => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])

Attributes

Inherited from:
IterableOps
def updated[B >: Double](index: Int, elem: B): IndexedSeq[B]

Attributes

Inherited from:
SeqOps
override def view: IndexedSeqView[Double]

Attributes

Definition Classes
Inherited from:
IndexedSeqOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
def zipAll[A1 >: Double, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, Double) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (Double, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, Double) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: Double](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: Double => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def repr: IndexedSeq[Double]

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def reverseMap[B](f: Double => B): IndexedSeq[B]

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[Double]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[Double]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
final def union[B >: Double](that: Seq[B]): IndexedSeq[B]

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
override def view(from: Int, until: Int): IndexedSeqView[Double]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
Inherited from:
IndexedSeqOps

Concrete fields

override val length: Int

Attributes

Source
DoubleRange.scala