Vector

Companion:
class
class Object
trait Matchable
class Any
Vector.type

Value members

Concrete methods

def apply[@specialized(Double, Int, Float, Long) V](values: Array[V]): Vector[V]

Creates a vector with the specified elements

Creates a vector with the specified elements

def zeros[V : Zero](size: Int): Vector[V]

Creates a Vector of size size.

Creates a Vector of size size.

Inherited methods

def apply[V : ClassTag](values: V*): Vector[V]

Creates a vector with the specified elements

Creates a vector with the specified elements

Inherited from:
VectorConstructors
def rand[T : ClassTag](size: Int, rand: Rand[T]): Vector[T]

Creates a Vector of uniform random numbers in (0,1)

Creates a Vector of uniform random numbers in (0,1)

Inherited from:
VectorConstructors
def range(start: Int, end: Int, step: Int): Vector[Int]
Inherited from:
VectorConstructors
def range(start: Int, end: Int): Vector[Int]
Inherited from:
VectorConstructors
def rangeD(start: Double, end: Double, step: Double): Vector[Double]
Inherited from:
VectorConstructors
def rangeF(start: Float, end: Float, step: Float): Vector[Float]
Inherited from:
VectorConstructors

Implicits

Implicits

implicit def canCopy[E]: CanCopy[Vector[E]]
implicit def scalarOf[T]: ScalarOf[Vector[T], T]

Inherited implicits

implicit def canCreateZeros[V : Zero]: CanCreateZeros[Vector[V], Int]
Inherited from:
VectorConstructors