# VectorOps

#### class VectorOps extends AnyRef

Syntactic sugar for mahout vectors

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
1. Alphabetic
2. By inheritance
Inherited
1. VectorOps
2. AnyRef
3. Any
1. Hide All
2. Show all
Visibility
1. Public
2. All

### Instance Constructors

1. #### new VectorOps(v: Vector)

v

Mahout vector

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

Definition Classes
AnyRef
2. #### final def !=(arg0: Any): Boolean

Definition Classes
Any

4. #### final def ##(): Int

Definition Classes
AnyRef → Any

20. #### def ::=(f: (Double) ⇒ Double): Vector

Sparse iteration functional assignment using a function recieving just x

21. #### def ::=(f: (Int, Double) ⇒ Double): Vector

Sparse iteration functional assignment using function receiving index and x

22. #### def :=(f: (Double) ⇒ Double): Vector

Functional assignment for a function with just x (e.

Functional assignment for a function with just x (e.g. v := math.exp _)

23. #### def :=(f: (Int, Double) ⇒ Double): Vector

Functional assigment for a function with index and x

26. #### final def ==(arg0: AnyRef): Boolean

Definition Classes
AnyRef
27. #### final def ==(arg0: Any): Boolean

Definition Classes
Any

29. #### def apply(r: Range): Vector

Warning: we only support consecutive views, step is not supported directly

31. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
32. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )

34. #### final def eq(arg0: AnyRef): Boolean

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

Definition Classes
AnyRef → Any

37. #### def finalize(): Unit

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

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

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

Definition Classes
Any

44. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef

46. #### final def notify(): Unit

Definition Classes
AnyRef
47. #### final def notifyAll(): Unit

Definition Classes
AnyRef

49. #### def sum: Double

R-like synonyms for java methods on vectors

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

Definition Classes
AnyRef
51. #### def toColMatrix: Matrix

Convert to a single column matrix

52. #### def toString(): String

Definition Classes
AnyRef → Any

56. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )