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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Vector2D
- VectorD
- VectoD
- Serializable
- Serializable
- Error
- Vec
- PartiallyOrdered
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Vector2D(v2: Array[Double] = null)
- v2
the 1D array used to store vector elements
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(s: (Int, Double)): VectorD
- Definition Classes
- VectorD → VectoD
-
def
*(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
*(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
*(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
*=(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
*=(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
*=(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
+(s: (Int, Double)): VectorD
- Definition Classes
- VectorD → VectoD
-
def
+(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
+(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
+(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
++(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
++(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
++(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
++[B >: Double, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: Double, That](that: Traversable[B])(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: Double, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike
-
def
+=(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
+=(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
+=(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
-(s: (Int, Double)): VectorD
- Definition Classes
- VectorD → VectoD
-
def
-(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
-(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
-(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
-=(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
-=(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
-=(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
/(s: (Int, Double)): VectorD
- Definition Classes
- VectorD → VectoD
-
def
/(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
/(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
/(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
/:[B](z: B)(op: (B, Double) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
/=(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
/=(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
/=(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
:\[B](z: B)(op: (Double, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
<[B >: VectoD](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
- Definition Classes
- PartiallyOrdered
-
def
<=[B >: VectoD](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
- Definition Classes
- PartiallyOrdered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>[B >: VectoD](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
- Definition Classes
- PartiallyOrdered
-
def
>=[B >: VectoD](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
- Definition Classes
- PartiallyOrdered
-
def
_oneAt(j: Int, size: Int): VectorD
- Definition Classes
- VectorD → VectoD
-
def
abs: VectorD
- Definition Classes
- VectorD → VectoD
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Double) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
apply(iv: VectoI): VectorD
- Definition Classes
- VectorD → VectoD
-
def
apply(): WrappedArray[Double]
- Definition Classes
- VectorD → VectoD
-
def
apply(r: Range): VectorD
- Definition Classes
- VectorD → VectoD
-
def
apply(i: Int): Double
- Definition Classes
- VectorD → VectoD
-
def
argmax(s: Int, e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
argmax(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
argmaxPos(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
argmin(s: Int, e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
argmin(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
argminNeg(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clean(thres: Double, relative: Boolean): VectorD
- Definition Classes
- VectorD
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
collect[B, That](pf: PartialFunction[Double, B])(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[Double, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Traversable]
- Definition Classes
- Traversable → GenTraversable → GenericTraversableTemplate
-
def
contains(x: Double): Boolean
- Definition Classes
- VectorD → VectoD
-
def
containsAny(x: VectorD): Boolean
- Definition Classes
- VectorD
-
def
copy(): VectorD
- Definition Classes
- VectorD → VectoD
-
def
copyToArray[B >: Double](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Double](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Double](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: Double](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: (Double) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
countNeg: Int
- Definition Classes
- VectorD → VectoD
-
def
countPos: Int
- Definition Classes
- VectorD → VectoD
-
def
countZero: Int
- Definition Classes
- VectorD → VectoD
-
def
countinct: Int
- Definition Classes
- VectorD → VectoD
-
def
cumulate: VectorD
- Definition Classes
- VectorD → VectoD
-
val
dim: Int
- Definition Classes
- VectorD → VectoD
-
def
distinct: VectorD
- Definition Classes
- VectorD → VectoD
-
def
dot(b: VectorD): Double
- Definition Classes
- VectorD
-
def
dot(b: VectoD): Double
- Definition Classes
- VectorD → VectoD
-
def
drop(n: Int): Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
dropWhile(p: (Double) ⇒ Boolean): Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(b: Any): Boolean
- Definition Classes
- VectorD → VectoD → AnyRef → Any
-
def
exists(p: (Double) ⇒ Boolean): Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
expand(more: Int): VectorD
- Definition Classes
- VectorD → VectoD
-
val
fString: String
- Attributes
- protected
- Definition Classes
- VectoD
-
def
filter(p: (Double) ⇒ Boolean): VectorD
- Definition Classes
- VectorD → TraversableLike → GenTraversableLike
-
def
filterMissing: VectorD
- Definition Classes
- VectorD → VectoD
-
def
filterNot(p: (Double) ⇒ Boolean): Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterPos(p: (Double) ⇒ Boolean): IndexedSeq[Int]
- Definition Classes
- VectorD → VectoD
-
def
filterPos2(v2: VectoD, p: (Double, Double) ⇒ Boolean): IndexedSeq[(Int, Int)]
- Definition Classes
- VectorD → VectoD
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (Double) ⇒ Boolean): Option[Double]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
firstNeg(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
firstPos(e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
flatMap[B, That](f: (Double) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (Double) ⇒ GenTraversableOnce[B]): Traversable[B]
- Definition Classes
- GenericTraversableTemplate
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
def
fold[A1 >: Double](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, Double) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (Double, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
forall(p: (Double) ⇒ Boolean): Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (Double) ⇒ U): Unit
- Definition Classes
- VectorD → VectoD → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Traversable[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (Double) ⇒ K): Map[K, Traversable[Double]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- VectorD → VectoD → AnyRef → Any
-
def
head: Double
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
headOption: Option[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
indexOf(x: Double, e: Int): Int
- Definition Classes
- VectorD → VectoD
-
def
indexWhere(p: (Double) ⇒ Boolean): Int
- Definition Classes
- VectorD → VectoD
-
def
indices: Range
- Definition Classes
- VectoD → Vec
-
def
init: Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[Traversable[Double]]
- Definition Classes
- TraversableLike
-
def
intersect(x: VectorD): VectorD
- Definition Classes
- VectorD
-
def
isEmpty: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNonnegative: Boolean
- Definition Classes
- VectorD → VectoD
-
def
isSorted: Boolean
- Definition Classes
- VectorD → VectoD
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
last: Double
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
mag: Double
- Definition Classes
- VectoD
-
def
map(f: (Double) ⇒ Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
map[B, That](f: (Double) ⇒ B)(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
max(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
max(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
max(e: Int): Double
- Definition Classes
- VectorD → VectoD
-
def
max[B >: Double](implicit cmp: Ordering[B]): Double
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (Double) ⇒ B)(implicit cmp: Ordering[B]): Double
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mean: Double
- Definition Classes
- VectoD
-
def
min(b: VectorD): VectorD
- Definition Classes
- VectorD
-
def
min(b: VectoD): VectorD
- Definition Classes
- VectorD → VectoD
-
def
min(e: Int): Double
- Definition Classes
- VectorD → VectoD
-
def
min[B >: Double](implicit cmp: Ordering[B]): Double
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (Double) ⇒ B)(implicit cmp: Ordering[B]): Double
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
val
nd: Double
- Definition Classes
- VectoD
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[Double, Traversable[Double]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
norm: Double
- Definition Classes
- VectoD
-
def
norm1: Double
- Definition Classes
- VectorD → VectoD
-
def
normSq: Double
- Definition Classes
- VectoD
-
def
normalize: VectorD
- Definition Classes
- VectorD → VectoD
-
def
normalize1: VectorD
- Definition Classes
- VectorD → VectoD
-
def
normalizeU: VectorD
- Definition Classes
- VectorD → VectoD
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
one(size: Int): VectorD
- Definition Classes
- VectorD → VectoD
-
def
oneAt(j: Int, size: Int): VectorD
- Definition Classes
- VectorD → VectoD
-
def
par: ParIterable[Double]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[Double, ParIterable[Double]]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike → Parallelizable
-
def
partition(p: (Double) ⇒ Boolean): (Traversable[Double], Traversable[Double])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
product[B >: Double](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
pvariance: Double
- Definition Classes
- VectoD
-
val
range: Range
- Definition Classes
- VectoD
-
def
rank: VectorI
- Definition Classes
- VectorD → VectoD
-
def
recip: VectorD
- Definition Classes
- VectorD → VectoD
-
def
reduce[A1 >: Double](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: Double](op: (B, Double) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: Double](op: (B, Double) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: Double](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: Double](op: (Double, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: Double](op: (Double, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr: Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
reverse(): VectorD
- Definition Classes
- VectorD → VectoD
-
def
reversed: List[Double]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
sameDimensions(b: VectoD): Boolean
- Definition Classes
- VectoD
-
def
scan[B >: Double, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, Double) ⇒ B)(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (Double, B) ⇒ B)(implicit bf: CanBuildFrom[Traversable[Double], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
select(basis: VectoI): VectorD
- Definition Classes
- VectorD
-
def
select(basis: Array[Int]): VectorD
- Definition Classes
- VectorD → VectoD
-
def
selectEx(basis: Array[Int]): VectoD
- Definition Classes
- VectoD
-
def
seq: Traversable[Double]
- Definition Classes
- Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
set(u: Seq[Double]): Unit
- Definition Classes
- VectorD → VectoD
-
def
set(x: Double): Unit
- Definition Classes
- VectorD → VectoD
-
def
setFormat(newFormat: String): Unit
- Definition Classes
- VectoD
-
def
size: Int
- Definition Classes
- VectoD → Vec → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, till: Int): VectorD
- Definition Classes
- VectorD → VectoD → TraversableLike → GenTraversableLike
-
def
slice(rg: Range): VectoD
- Definition Classes
- VectoD
-
def
sliceEx(rg: Range): VectoD
- Definition Classes
- VectoD
-
def
sort(): Unit
- Definition Classes
- VectorD → VectoD
-
def
sort2(): Unit
- Definition Classes
- VectorD → VectoD
-
def
span(p: (Double) ⇒ Boolean): (Traversable[Double], Traversable[Double])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
split(k: Int): Array[VectoD]
- Definition Classes
- VectorD → VectoD
-
def
splitAt(n: Int): (Traversable[Double], Traversable[Double])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sq: VectoD
- Definition Classes
- VectoD
-
def
stringPrefix: String
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sum: Double
- Definition Classes
- VectorD → VectoD
-
def
sum[B >: Double](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
sumNE(i: Int): Double
- Definition Classes
- VectorD → VectoD
-
def
sumPos: Double
- Definition Classes
- VectorD → VectoD
-
def
swap(i: Int, j: Int): Unit
- Definition Classes
- VectorD → VectoD
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[Traversable[Double]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
takeWhile(p: (Double) ⇒ Boolean): Traversable[Double]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
thisCollection: Traversable[Double]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Double, Col[Double]]): Col[Double]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: Double](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[B >: Double]: Buffer[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Traversable[Double]): Traversable[Double]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
def
toDense: VectorD
- Definition Classes
- VectorD → VectoD
-
def
toDouble: VectorD
- Definition Classes
- VectorD → VectoD
-
def
toIndexedSeq: IndexedSeq[Double]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toInt: VectorI
- Definition Classes
- VectorD → VectoD
-
def
toIterable: Iterable[Double]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[Double]
- Definition Classes
- TraversableLike → GenTraversableOnce
-
def
toList: List[Double]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toLong: VectorL
- Definition Classes
- VectorD → VectoD
-
def
toMap[T, U](implicit ev: <:<[Double, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[Double]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSet[B >: Double]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[Double]
- Definition Classes
- TraversableLike → GenTraversableOnce
-
def
toString: String
- Definition Classes
- VectorD → VectoD → TraversableLike → AnyRef → Any
-
def
toTraversable: Traversable[Double]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[Double]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transpose[B](implicit asTraversable: (Double) ⇒ GenTraversableOnce[B]): Traversable[Traversable[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
tryCompareTo[B >: VectorD](b: B)(implicit view_1: (B) ⇒ PartiallyOrdered[B]): Option[Int]
- Definition Classes
- VectorD → PartiallyOrdered
-
def
unary_-(): VectorD
- Definition Classes
- VectorD → VectoD
-
def
unzip[A1, A2](implicit asPair: (Double) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (Double) ⇒ (A1, A2, A3)): (Traversable[A1], Traversable[A2], Traversable[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(r: Range, u: VectoD): Unit
- Definition Classes
- VectorD → VectoD
-
def
update(r: Range, x: Double): Unit
- Definition Classes
- VectorD → VectoD
-
def
update(i: Int, x: Double): Unit
- Definition Classes
- VectorD → VectoD
-
var
v: Array[Double]
- Attributes
- protected
- Definition Classes
- VectorD
-
def
variance: Double
- Definition Classes
- VectoD
-
def
view(from: Int, until: Int): TraversableView[Double, Traversable[Double]]
- Definition Classes
- TraversableLike
-
def
view: TraversableView[Double, Traversable[Double]]
- Definition Classes
- TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(p: (Double) ⇒ Boolean): FilterMonadic[Double, Traversable[Double]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
x: Double
Return the 'x' coordinate.
-
def
y: Double
Return the 'y' coordinate.
-
def
zero(size: Int): VectorD
- Definition Classes
- VectorD → VectoD
-
def
~^(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
~^=(s: Double): VectorD
- Definition Classes
- VectorD → VectoD
-
def
∙(b: VectoD): Double
- Definition Classes
- VectoD
-
def
≠(b: VectoD): Boolean
- Definition Classes
- VectoD
-
def
≤(b: VectoD): Boolean
- Definition Classes
- VectoD
-
def
≥(b: VectoD): Boolean
- Definition Classes
- VectoD