Class

com.salesforce.op.utils.spark.RichVector

RichVector

Related Doc: package RichVector

Permalink

implicit final class RichVector extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichVector
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichVector(v: Vector)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(that: Vector): Vector

    Permalink

    Add vectors

    Add vectors

    that

    another vector

    returns

    vector addition

    Exceptions thrown

    IllegalArgumentException if the vectors have different sizes

  4. def -(that: Vector): Vector

    Permalink

    Subtract vectors

    Subtract vectors

    that

    another vector

    returns

    vector subtraction

    Exceptions thrown

    IllegalArgumentException if the vectors have different sizes

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

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def combine(that: Vector, other: Vector*): Vector

    Permalink

    Combine multiple vectors into one

    Combine multiple vectors into one

    that

    another vector

    other

    other vectors

    returns

    result vector

  8. def dot(that: Vector): Double

    Permalink

    Dot product between vectors

    Dot product between vectors

    that

    another vector

    returns

    dot product

    Exceptions thrown

    IllegalArgumentException if the vectors have different sizes

  9. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def toBreeze: Vector[Double]

    Permalink

    Convert to breeze.linalg.Vector

    Convert to breeze.linalg.Vector

    returns

    breeze.linalg.Vector

  12. def toString(): String

    Permalink
    Definition Classes
    Any
  13. val v: Vector

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped