Class/Object

com.salesforce.op.features.types

OPVector

Related Docs: object OPVector | package types

Permalink

class OPVector extends OPCollection

Vector representation

Linear Supertypes
OPCollection, FeatureType, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OPVector
  2. OPCollection
  3. FeatureType
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OPVector(value: Vector)

    Permalink

    value

    vector (SparseVector or DenseVector)

Type Members

  1. type Value = Vector

    Permalink

    Feature value type

    Feature value type

    Definition Classes
    OPVectorFeatureType

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(that: OPVector): OPVector

    Permalink

    Add vectors

    Add vectors

    that

    another vector

    returns

    vector addition

    Exceptions thrown

    IllegalArgumentException if the vectors have different sizes

  4. def -(that: OPVector): OPVector

    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
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def combine(that: OPVector, other: OPVector*): OPVector

    Permalink

    Combine multiple vectors into one

    Combine multiple vectors into one

    that

    another vector

    other

    other vectors

    returns

    result vector

  9. final def contains(v: Value): Boolean

    Permalink

    Returns true if this feature value is non empty and contains the specified value $v.

    Returns true if this feature value is non empty and contains the specified value $v. Otherwise, returns false.

    v

    value to test

    Definition Classes
    FeatureType
  10. def dot(that: OPVector): 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

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

    Permalink
    Definition Classes
    AnyRef
  12. final def equals(in: Any): Boolean

    Permalink

    Indicates whether some other object is "equal to" this one

    Indicates whether some other object is "equal to" this one

    Definition Classes
    FeatureType → AnyRef → Any
  13. final def exists(p: (Value) ⇒ Boolean): Boolean

    Permalink

    Returns true if this feature value is non empty and the predicate $p returns true when applied to this feature type value.

    Returns true if this feature value is non empty and the predicate $p returns true when applied to this feature type value. Otherwise, returns false.

    p

    the predicate to test

    Definition Classes
    FeatureType
  14. def finalize(): Unit

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

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

    Permalink

    Returns a hash code value for the value

    Returns a hash code value for the value

    Definition Classes
    FeatureType → AnyRef → Any
  17. final def isEmpty: Boolean

    Permalink

    Is vector empty

    Is vector empty

    returns

    true if empty, false otherwise

    Definition Classes
    OPVectorFeatureType
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isNullable: Boolean

    Permalink

    Returns true is the value is nullable, false otherwise

    Returns true is the value is nullable, false otherwise

    Definition Classes
    FeatureType
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def nonEmpty: Boolean

    Permalink

    Returns true is the value is non empty, false otherwise

    Returns true is the value is non empty, false otherwise

    Definition Classes
    FeatureType
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    Returns a string representation of this value

    Returns a string representation of this value

    Definition Classes
    FeatureType → AnyRef → Any
  26. final def v: Value

    Permalink

    Returns value shortcut

    Returns value shortcut

    Definition Classes
    FeatureType
  27. val value: Vector

    Permalink

    vector (SparseVector or DenseVector)

    vector (SparseVector or DenseVector)

    Definition Classes
    OPVectorFeatureType
  28. final def wait(): Unit

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

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

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

Inherited from OPCollection

Inherited from FeatureType

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped