object DenseVector extends VectorConstructors[DenseVector] with Serializable
- Alphabetic
- By Inheritance
- DenseVector
- Serializable
- VectorConstructors
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class CanZipMapKeyValuesDenseVector[V, RV] extends CanZipMapKeyValues[DenseVector[V], Int, V, RV, DenseVector[RV]]
- class CanZipMapValuesDenseVector[V, RV] extends CanZipMapValues[DenseVector[V], V, RV, DenseVector[RV]]
- case class SerializedForm(data: Array[_], offset: Int, stride: Int, length: Int) extends Serializable with Product
This class exists because @specialized instances don't respect the serial
This class exists because @specialized instances don't respect the serial
- Annotations
- @SerialVersionUID()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def DV_canMapValues[V, V2](implicit man: ClassTag[V2]): CanMapValues[DenseVector[V], V, V2, DenseVector[V2]]
- implicit def DV_scalarOf[T]: ScalarOf[DenseVector[T], T]
- def apply[V](values: Array[V]): DenseVector[V]
Creates a vector with the specified elements
Creates a vector with the specified elements
- Definition Classes
- DenseVector → VectorConstructors
- def apply[V](values: V*)(implicit arg0: ClassTag[V]): DenseVector[V]
Creates a vector with the specified elements
Creates a vector with the specified elements
- Definition Classes
- VectorConstructors
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def canCopyDenseVector[V](implicit arg0: ClassTag[V]): CanCopy[DenseVector[V]]
- implicit def canCreateZeros[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanCreateZeros[DenseVector[V], Int]
- Definition Classes
- VectorConstructors
- implicit def canCreateZerosLike[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanCreateZerosLike[DenseVector[V], DenseVector[V]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def create[V](data: Array[V], offset: Int, stride: Int, length: Int): DenseVector[V]
Creates a new DenseVector using the provided array (not making a copy!).
Creates a new DenseVector using the provided array (not making a copy!). In generic contexts, prefer to use this (or apply) instead of
new DenseVector[V](data, offset, stride, length)
, which in general won't give specialized implementations. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fill[V](size: Int, v: V)(implicit arg0: ClassTag[V], arg1: Semiring[V]): DenseVector[V]
- def fill[V](size: Int)(v: => V)(implicit arg0: ClassTag[V]): DenseVector[V]
Analogous to Array.fill
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def horzcat[V](vectors: DenseVector[V]*)(implicit arg0: ClassTag[V], arg1: Zero[V]): DenseMatrix[V]
Horizontal concatenation of two or more vectors into one matrix.
Horizontal concatenation of two or more vectors into one matrix.
- Exceptions thrown
IllegalArgumentException
if vectors have different sizes
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def ones[V](size: Int)(implicit arg0: ClassTag[V], arg1: Semiring[V]): DenseVector[V]
- def rand[T](size: Int, rand: Rand[T] = Rand.uniform)(implicit arg0: ClassTag[T]): DenseVector[T]
Creates a Vector of uniform random numbers in (0,1)
Creates a Vector of uniform random numbers in (0,1)
- Definition Classes
- VectorConstructors
- def range(start: Int, end: Int, step: Int): DenseVector[Int]
- Definition Classes
- VectorConstructors
- def range(start: Int, end: Int): DenseVector[Int]
- Definition Classes
- VectorConstructors
- def rangeD(start: Double, end: Double, step: Double = 1.0): DenseVector[Double]
- Definition Classes
- VectorConstructors
- def rangeF(start: Float, end: Float, step: Float = 1.0f): DenseVector[Float]
- Definition Classes
- VectorConstructors
- implicit def space[E](implicit field: Field[E], man: ClassTag[E]): MutableFiniteCoordinateField[DenseVector[E], Int, E]
- implicit val space_Double: MutableFiniteCoordinateField[DenseVector[Double], Int, Double]
- implicit val space_Float: MutableFiniteCoordinateField[DenseVector[Float], Int, Float]
- implicit val space_Int: MutableFiniteCoordinateField[DenseVector[Int], Int, Int]
- implicit val space_Long: MutableFiniteCoordinateField[DenseVector[Long], Int, Long]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tabulate[V](range: Range)(f: (Int) => V)(implicit arg0: ClassTag[V]): DenseVector[V]
Analogous to Array.tabulate, but taking a scala.Range to iterate over, instead of an index.
- def tabulate[V](size: Int)(f: (Int) => V)(implicit arg0: ClassTag[V]): DenseVector[V]
Analogous to Array.tabulate
- def toString(): String
- Definition Classes
- AnyRef → Any
- def vertcat[V](vectors: DenseVector[V]*)(implicit canSet: operators.OpSet.InPlaceImpl2[DenseVector[V], DenseVector[V]], vman: ClassTag[V], zero: Zero[V]): DenseVector[V]
Vertical concatenation of two or more column vectors into one large vector.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def zeros[V](size: Int)(implicit arg0: ClassTag[V], arg1: Zero[V]): DenseVector[V]
Creates a Vector of size size.
Creates a Vector of size size.
- Definition Classes
- DenseVector → VectorConstructors
- implicit def zipMap[V, R](implicit arg0: ClassTag[R]): CanZipMapValuesDenseVector[V, R]
- implicit def zipMapKV[V, R](implicit arg0: ClassTag[R]): CanZipMapKeyValuesDenseVector[V, R]
- implicit val zipMap_d: CanZipMapValuesDenseVector[Double, Double]
- implicit val zipMap_f: CanZipMapValuesDenseVector[Float, Float]
- implicit val zipMap_i: CanZipMapValuesDenseVector[Int, Int]
- object TupleIsomorphisms