org.apache.spark.util

Vector

Related Docs: object Vector | package util

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

  4. def +(other: Vector): Vector

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

  6. def -(other: Vector): Vector

  7. def /(d: Double): Vector

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

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

  10. def addInPlace(other: Vector): Vector

  11. def apply(index: Int): Double

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

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

  15. def divide(d: Double): Vector

  16. def dot(other: Vector): Double

  17. val elements: Array[Double]

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

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

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

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

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

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

    Definition Classes
    Any
  24. def length: Int

  25. def multiply(d: Double): Vector

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

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

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

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

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

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

    plus
    other
    returns

  30. def squaredDist(other: Vector): Double

  31. def subtract(other: Vector): Vector

  32. def sum: Double

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped