Class/Object

org.apache.spark.util

Vector

Related Docs: object Vector | package util

Permalink

class Vector extends Serializable

Annotations
@deprecated
Deprecated

(Since version 1.0.0) Use Vectors.dense from Spark's mllib.linalg package instead.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vector
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Vector(elements: Array[Double])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(scale: Double): Vector

    Permalink
  4. def +(other: Vector): Vector

    Permalink
  5. def +=(other: Vector): Vector

    Permalink
  6. def -(other: Vector): Vector

    Permalink
  7. def /(d: Double): Vector

    Permalink
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def add(other: Vector): Vector

    Permalink
  10. def addInPlace(other: Vector): Vector

    Permalink
  11. def apply(index: Int): Double

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def dist(other: Vector): Double

    Permalink
  15. def divide(d: Double): Vector

    Permalink
  16. def dot(other: Vector): Double

    Permalink
  17. val elements: Array[Double]

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def length: Int

    Permalink
  25. def multiply(d: Double): Vector

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def plusDot(plus: Vector, other: Vector): Double

    Permalink

    return (this + plus) dot other, but without creating any intermediate storage

  30. def squaredDist(other: Vector): Double

    Permalink
  31. def subtract(other: Vector): Vector

    Permalink
  32. def sum: Double

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    Vector → AnyRef → Any
  35. def unary_-: Vector

    Permalink
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped