class Vector2D extends VectorD

The Vector2D class stores and operates on Numeric Vectors of base type Double and having 2 coordinates (x, y).

Linear Supertypes
VectorD, VectoD, Serializable, Error, Vec, PartiallyOrdered[VectoD], Iterable[Double], IterableFactoryDefaults[Double, Iterable], IterableOps[Double, Iterable, Iterable[Double]], IterableOnceOps[Double, Iterable, Iterable[Double]], IterableOnce[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Vector2D
  2. VectorD
  3. VectoD
  4. Serializable
  5. Error
  6. Vec
  7. PartiallyOrdered
  8. Iterable
  9. IterableFactoryDefaults
  10. IterableOps
  11. IterableOnceOps
  12. IterableOnce
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Vector2D(v2: Array[Double] = null)

    v2

    the 1D array used to store vector elements

Type Members

  1. type AsPartiallyOrdered[B] = (B) => PartiallyOrdered[B]
    Definition Classes
    PartiallyOrdered

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(s: (Int, Double)): VectorD
    Definition Classes
    VectorD → VectoD
  4. def *(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  5. def *(b: VectorD): VectorD
    Definition Classes
    VectorD
  6. def *(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  7. def *=(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  8. def *=(b: VectorD): VectorD
    Definition Classes
    VectorD
  9. def *=(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  10. def +(s: (Int, Double)): VectorD
    Definition Classes
    VectorD → VectoD
  11. def +(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  12. def +(b: VectorD): VectorD
    Definition Classes
    VectorD
  13. def +(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  14. def ++(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  15. def ++(b: VectorD): VectorD
    Definition Classes
    VectorD
  16. def ++(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  17. final def ++[B >: Double](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  18. def +=(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  19. def +=(b: VectorD): VectorD
    Definition Classes
    VectorD
  20. def +=(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  21. def -(s: (Int, Double)): VectorD
    Definition Classes
    VectorD → VectoD
  22. def -(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  23. def -(b: VectorD): VectorD
    Definition Classes
    VectorD
  24. def -(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  25. def -=(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  26. def -=(b: VectorD): VectorD
    Definition Classes
    VectorD
  27. def -=(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  28. def /(s: (Int, Double)): VectorD
    Definition Classes
    VectorD → VectoD
  29. def /(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  30. def /(b: VectorD): VectorD
    Definition Classes
    VectorD
  31. def /(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  32. def /=(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  33. def /=(b: VectorD): VectorD
    Definition Classes
    VectorD
  34. def /=(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  35. def <[B >: VectoD](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
    Definition Classes
    PartiallyOrdered
  36. def <=[B >: VectoD](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
    Definition Classes
    PartiallyOrdered
  37. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  38. def >[B >: VectoD](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
    Definition Classes
    PartiallyOrdered
  39. def >=[B >: VectoD](that: B)(implicit arg0: AsPartiallyOrdered[B]): Boolean
    Definition Classes
    PartiallyOrdered
  40. def _oneAt(j: Int, size: Int): VectorD
    Definition Classes
    VectorD → VectoD
  41. def abs: VectorD
    Definition Classes
    VectorD → VectoD
  42. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  43. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  44. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  45. def apply(iv: VectoI): VectorD
    Definition Classes
    VectorD → VectoD
  46. def apply(): ArraySeq[Double]
    Definition Classes
    VectorD → VectoD
  47. def apply(r: Range): VectorD
    Definition Classes
    VectorD → VectoD
  48. def apply(i: Int): Double
    Definition Classes
    VectorD → VectoD
  49. def argmax(s: Int, e: Int): Int
    Definition Classes
    VectorD → VectoD
  50. def argmax(e: Int): Int
    Definition Classes
    VectorD → VectoD
  51. def argmaxPos(e: Int): Int
    Definition Classes
    VectorD → VectoD
  52. def argmin(s: Int, e: Int): Int
    Definition Classes
    VectorD → VectoD
  53. def argmin(e: Int): Int
    Definition Classes
    VectorD → VectoD
  54. def argminNeg(e: Int): Int
    Definition Classes
    VectorD → VectoD
  55. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  56. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  57. def clean(thres: Double, relative: Boolean): VectorD
    Definition Classes
    VectorD
  58. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  59. final def coll: Vector2D.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  60. def collect[B](pf: PartialFunction[Double, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  61. def collectFirst[B](pf: PartialFunction[Double, B]): Option[B]
    Definition Classes
    IterableOnceOps
  62. def concat[B >: Double](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  63. def contains(x: Double): Boolean
    Definition Classes
    VectorD → VectoD
  64. def containsAny(x: VectorD): Boolean
    Definition Classes
    VectorD
  65. def copy: VectorD
    Definition Classes
    VectorD → VectoD
  66. def copyToArray[B >: Double](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  67. def copyToArray[B >: Double](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  68. def copyToArray[B >: Double](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  69. def corresponds[B](that: IterableOnce[B])(p: (Double, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  70. def count(p: (Double) => Boolean): Int
    Definition Classes
    IterableOnceOps
  71. def countNeg: Int
    Definition Classes
    VectorD → VectoD
  72. def countPos: Int
    Definition Classes
    VectorD → VectoD
  73. def countZero: Int
    Definition Classes
    VectorD → VectoD
  74. def countinct: Int
    Definition Classes
    VectorD → VectoD
  75. def cumulate: VectorD
    Definition Classes
    VectorD → VectoD
  76. val dim: Int
    Definition Classes
    VectorD → VectoD
  77. def distinct: VectorD
    Definition Classes
    VectorD → VectoD
  78. def dot(b: VectorD): Double
    Definition Classes
    VectorD
  79. def dot(b: VectoD): Double
    Definition Classes
    VectorD → VectoD
  80. def drop(n: Int): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  81. def dropRight(n: Int): Iterable[Double]
    Definition Classes
    IterableOps
  82. def dropWhile(p: (Double) => Boolean): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  83. def empty: Iterable[Double]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  84. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. def equals(b: Any): Boolean
    Definition Classes
    VectorD → VectoD → AnyRef → Any
  86. def exists(p: (Double) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  87. def expand(more: Int): VectorD
    Definition Classes
    VectorD → VectoD
  88. val fString: String
    Attributes
    protected
    Definition Classes
    VectoD
  89. def filter(p: (Double) => Boolean): VectorD
    Definition Classes
    VectorD → VectoD → IterableOps → IterableOnceOps
  90. def filterMissing: VectorD
    Definition Classes
    VectorD → VectoD
  91. def filterNot(pred: (Double) => Boolean): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  92. def filterPos(p: (Double) => Boolean): IndexedSeq[Int]
    Definition Classes
    VectorD → VectoD
  93. def filterPos2(v2: VectoD, p: (Double, Double) => Boolean): IndexedSeq[(Int, Int)]
    Definition Classes
    VectorD → VectoD
  94. def find(p: (Double) => Boolean): Option[Double]
    Definition Classes
    IterableOnceOps
  95. def firstNeg(e: Int): Int
    Definition Classes
    VectorD → VectoD
  96. def firstPos(e: Int): Int
    Definition Classes
    VectorD → VectoD
  97. def flatMap[B](f: (Double) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  98. def flatten[B](implicit asIterable: (Double) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  99. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  100. def fold[A1 >: Double](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  101. def foldLeft[B](z: B)(op: (B, Double) => B): B
    Definition Classes
    IterableOnceOps
  102. def foldRight[B](z: B)(op: (Double, B) => B): B
    Definition Classes
    IterableOnceOps
  103. def forall(p: (Double) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  104. def foreach[U](f: (Double) => U): Unit
    Definition Classes
    VectorD → VectoD → IterableOnceOps
  105. def fromSpecific(coll: IterableOnce[Double]): Iterable[Double]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  106. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  107. def groupBy[K](f: (Double) => K): Map[K, Iterable[Double]]
    Definition Classes
    IterableOps
  108. def groupMap[K, B](key: (Double) => K)(f: (Double) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  109. def groupMapReduce[K, B](key: (Double) => K)(f: (Double) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  110. def grouped(size: Int): Iterator[Iterable[Double]]
    Definition Classes
    IterableOps
  111. def hashCode(): Int
    Definition Classes
    VectorD → VectoD → AnyRef → Any
  112. def head: Double
    Definition Classes
    IterableOps
  113. def headOption: Option[Double]
    Definition Classes
    IterableOps
  114. def indexOf(x: Double, e: Int): Int
    Definition Classes
    VectorD → VectoD
  115. def indexWhere(p: (Double) => Boolean): Int
    Definition Classes
    VectorD → VectoD
  116. def indices: Range
    Definition Classes
    VectoD → Vec
  117. def init: Iterable[Double]
    Definition Classes
    IterableOps
  118. def inits: Iterator[Iterable[Double]]
    Definition Classes
    IterableOps
  119. def intersect(x: VectorD): VectorD
    Definition Classes
    VectorD
  120. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  121. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  122. def isNonnegative: Boolean
    Definition Classes
    VectorD → VectoD
  123. def isSorted: Boolean
    Definition Classes
    VectorD → VectoD
  124. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  125. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  126. def iterator: Iterator[Double]
    Definition Classes
    VectorD → IterableOnce
  127. def knownSize: Int
    Definition Classes
    IterableOnce
  128. def last: Double
    Definition Classes
    IterableOps
  129. def lastOption: Option[Double]
    Definition Classes
    IterableOps
  130. def lazyZip[B](that: Iterable[B]): LazyZip2[Double, B, Vector2D.this.type]
    Definition Classes
    Iterable
  131. def mag: Double
    Definition Classes
    VectoD
  132. def map(f: (Double) => Double): VectorD
    Definition Classes
    VectorD → VectoD
  133. def map[B](f: (Double) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  134. def max(b: VectorD): VectorD
    Definition Classes
    VectorD
  135. def max(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  136. def max(e: Int): Double
    Definition Classes
    VectorD → VectoD
  137. def max[B >: Double](implicit ord: Ordering[B]): Double
    Definition Classes
    IterableOnceOps
  138. def maxBy[B](f: (Double) => B)(implicit cmp: Ordering[B]): Double
    Definition Classes
    IterableOnceOps
  139. def maxByOption[B](f: (Double) => B)(implicit cmp: Ordering[B]): Option[Double]
    Definition Classes
    IterableOnceOps
  140. def maxOption[B >: Double](implicit ord: Ordering[B]): Option[Double]
    Definition Classes
    IterableOnceOps
  141. def mean: Double
    Definition Classes
    VectoD
  142. def min(b: VectorD): VectorD
    Definition Classes
    VectorD
  143. def min(b: VectoD): VectorD
    Definition Classes
    VectorD → VectoD
  144. def min(e: Int): Double
    Definition Classes
    VectorD → VectoD
  145. def min[B >: Double](implicit ord: Ordering[B]): Double
    Definition Classes
    IterableOnceOps
  146. def minBy[B](f: (Double) => B)(implicit cmp: Ordering[B]): Double
    Definition Classes
    IterableOnceOps
  147. def minByOption[B](f: (Double) => B)(implicit cmp: Ordering[B]): Option[Double]
    Definition Classes
    IterableOnceOps
  148. def minOption[B >: Double](implicit ord: Ordering[B]): Option[Double]
    Definition Classes
    IterableOnceOps
  149. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  150. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  151. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  152. val nd: Double
    Definition Classes
    VectoD
  153. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  154. def newSpecificBuilder: Builder[Double, Iterable[Double]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  155. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  156. def norm: Double
    Definition Classes
    VectoD
  157. def norm1: Double
    Definition Classes
    VectorD → VectoD
  158. def normSq: Double
    Definition Classes
    VectoD
  159. def normalize: VectorD
    Definition Classes
    VectorD → VectoD
  160. def normalize1: VectorD
    Definition Classes
    VectorD → VectoD
  161. def normalizeU: VectorD
    Definition Classes
    VectorD → VectoD
  162. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  163. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  164. def one(size: Int): VectorD
    Definition Classes
    VectorD → VectoD
  165. def oneAt(j: Int, size: Int): VectorD
    Definition Classes
    VectorD → VectoD
  166. def partition(p: (Double) => Boolean): (Iterable[Double], Iterable[Double])
    Definition Classes
    IterableOps
  167. def partitionMap[A1, A2](f: (Double) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  168. def pot(b: VectoD): Double
    Definition Classes
    VectorD → VectoD
  169. def product[B >: Double](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  170. def pvariance: Double
    Definition Classes
    VectoD
  171. val range: Range
    Definition Classes
    VectoD
  172. def rank: VectorI
    Definition Classes
    VectorD → VectoD
  173. def recip: VectorD
    Definition Classes
    VectorD → VectoD
  174. def reduce[B >: Double](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  175. def reduceLeft[B >: Double](op: (B, Double) => B): B
    Definition Classes
    IterableOnceOps
  176. def reduceLeftOption[B >: Double](op: (B, Double) => B): Option[B]
    Definition Classes
    IterableOnceOps
  177. def reduceOption[B >: Double](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  178. def reduceRight[B >: Double](op: (Double, B) => B): B
    Definition Classes
    IterableOnceOps
  179. def reduceRightOption[B >: Double](op: (Double, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  180. def reorder(rnk: VectoI): VectoD
    Definition Classes
    VectoD
  181. def reverse(): VectorD
    Definition Classes
    VectorD → VectoD
  182. def reversed: Iterable[Double]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  183. def rot(b: VectoD)(from: Int): Double
    Definition Classes
    VectorD → VectoD
  184. def sameDimensions(b: VectoD): Boolean
    Definition Classes
    VectoD
  185. def scan[B >: Double](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  186. def scanLeft[B](z: B)(op: (B, Double) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  187. def scanRight[B](z: B)(op: (Double, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  188. def select(basis: VectoI): VectorD
    Definition Classes
    VectorD → VectoD
  189. def select(basis: Array[Int]): VectorD
    Definition Classes
    VectorD → VectoD
  190. def selectEx(basis: VectoI): VectoD
    Definition Classes
    VectoD
  191. def selectEx(basis: Array[Int]): VectoD
    Definition Classes
    VectoD
  192. def set(u: IndexedSeq[Double]): Unit
    Definition Classes
    VectorD → VectoD
  193. def set(x: Double): Unit
    Definition Classes
    VectorD → VectoD
  194. def setFormat(newFormat: String): Unit
    Definition Classes
    VectoD
  195. def size: Int
    Definition Classes
    VectoD → Vec → IterableOnceOps
  196. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  197. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  198. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  199. def slice(from: Int, till: Int): VectorD
    Definition Classes
    VectorD → VectoD → IterableOps → IterableOnceOps
  200. def slice(rg: Range): VectoD
    Definition Classes
    VectoD
  201. def sliceEx(rg: Range): VectoD
    Definition Classes
    VectoD
  202. def sliding(size: Int, step: Int): Iterator[Iterable[Double]]
    Definition Classes
    IterableOps
  203. def sliding(size: Int): Iterator[Iterable[Double]]
    Definition Classes
    IterableOps
  204. def sort(): Unit
    Definition Classes
    VectorD → VectoD
  205. def sort2(): Unit
    Definition Classes
    VectorD → VectoD
  206. def span(p: (Double) => Boolean): (Iterable[Double], Iterable[Double])
    Definition Classes
    IterableOps → IterableOnceOps
  207. def split(k: Int): Array[VectoD]
    Definition Classes
    VectorD → VectoD
  208. def split(basis: VectoI): (VectoD, VectoD)
    Definition Classes
    VectoD
  209. def split(basis: Array[Int]): (VectoD, VectoD)
    Definition Classes
    VectoD
  210. def splitAt(n: Int): (Iterable[Double], Iterable[Double])
    Definition Classes
    IterableOps → IterableOnceOps
  211. def sq: VectoD
    Definition Classes
    VectoD
  212. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Double, S]): S
    Definition Classes
    IterableOnce
  213. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  214. def sum: Double
    Definition Classes
    VectorD → VectoD
  215. def sum[B >: Double](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  216. def sumNE(i: Int): Double
    Definition Classes
    VectorD → VectoD
  217. def sumPos: Double
    Definition Classes
    VectorD → VectoD
  218. def swap(i: Int, j: Int): Unit
    Definition Classes
    VectorD → VectoD
  219. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  220. def tail: Iterable[Double]
    Definition Classes
    IterableOps
  221. def tails: Iterator[Iterable[Double]]
    Definition Classes
    IterableOps
  222. def take(n: Int): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  223. def takeRight(n: Int): Iterable[Double]
    Definition Classes
    IterableOps
  224. def takeWhile(p: (Double) => Boolean): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  225. def tapEach[U](f: (Double) => U): Iterable[Double]
    Definition Classes
    IterableOps → IterableOnceOps
  226. def to[C1](factory: Factory[Double, C1]): C1
    Definition Classes
    IterableOnceOps
  227. def toArray[B >: Double](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  228. final def toBuffer[B >: Double]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  229. def toDense: VectorD
    Definition Classes
    VectorD → VectoD
  230. def toDouble: VectorD
    Definition Classes
    VectorD → VectoD
  231. def toIndexedSeq: IndexedSeq[Double]
    Definition Classes
    IterableOnceOps
  232. def toInt: VectorI
    Definition Classes
    VectorD → VectoD
  233. final def toIterable: Vector2D.this.type
    Definition Classes
    Iterable → IterableOps
  234. def toList: List[Double]
    Definition Classes
    IterableOnceOps
  235. def toLong: VectorL
    Definition Classes
    VectorD → VectoD
  236. def toMap[K, V](implicit ev: <:<[Double, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  237. def toSeq: Seq[Double]
    Definition Classes
    IterableOnceOps
  238. def toSet[B >: Double]: Set[B]
    Definition Classes
    IterableOnceOps
  239. def toString: String
    Definition Classes
    VectorD → VectoD → Iterable → AnyRef → Any
  240. def toVector: Vector[Double]
    Definition Classes
    IterableOnceOps
  241. def transpose[B](implicit asIterable: (Double) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  242. def tryCompareTo[B >: VectorD](b: B)(implicit view_1: (B) => PartiallyOrdered[B]): Option[Int]
    Definition Classes
    VectorD → PartiallyOrdered
  243. def unary_-: VectorD
    Definition Classes
    VectorD → VectoD
  244. def unzip[A1, A2](implicit asPair: (Double) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  245. def unzip3[A1, A2, A3](implicit asTriple: (Double) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  246. def update(r: Range, u: VectoD): Unit
    Definition Classes
    VectorD → VectoD
  247. def update(r: Range, x: Double): Unit
    Definition Classes
    VectorD → VectoD
  248. def update(i: Int, x: Double): Unit
    Definition Classes
    VectorD → VectoD
  249. var v: Array[Double]
    Attributes
    protected
    Definition Classes
    VectorD
  250. def variance: Double
    Definition Classes
    VectoD
  251. def view: View[Double]
    Definition Classes
    IterableOps
  252. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  253. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  254. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  255. def withFilter(p: (Double) => Boolean): WithFilter[Double, Iterable]
    Definition Classes
    IterableOps
  256. def x: Double

    Return the 'x' coordinate.

  257. def y: Double

    Return the 'y' coordinate.

  258. def zero(size: Int): VectorD
    Definition Classes
    VectorD → VectoD
  259. def zip[B](that: IterableOnce[B]): Iterable[(Double, B)]
    Definition Classes
    IterableOps
  260. def zipAll[A1 >: Double, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  261. def zipWithIndex: Iterable[(Double, Int)]
    Definition Classes
    IterableOps → IterableOnceOps
  262. def ~^(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  263. def ~^=(s: Double): VectorD
    Definition Classes
    VectorD → VectoD
  264. def (b: VectoD): Double
    Definition Classes
    VectoD
  265. def (b: VectoD): Boolean
    Definition Classes
    VectoD
  266. def (b: VectoD): Boolean
    Definition Classes
    VectoD
  267. def (b: VectoD): Boolean
    Definition Classes
    VectoD

Deprecated Value Members

  1. def ++:[B >: Double](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, Double) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (Double, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, Double) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: Double](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  8. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  9. final def repr: Iterable[Double]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  10. def seq: Vector2D.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  11. final def toIterator: Iterator[Double]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  12. final def toStream: Stream[Double]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  13. final def toTraversable: Traversable[Double]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  14. def view(from: Int, until: Int): View[Double]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from VectorD

Inherited from VectoD

Inherited from Serializable

Inherited from Error

Inherited from Vec

Inherited from PartiallyOrdered[VectoD]

Inherited from Iterable[Double]

Inherited from IterableFactoryDefaults[Double, Iterable]

Inherited from IterableOps[Double, Iterable, Iterable[Double]]

Inherited from IterableOnceOps[Double, Iterable, Iterable[Double]]

Inherited from IterableOnce[Double]

Inherited from AnyRef

Inherited from Any

Ungrouped