object DenseMatrix extends MatrixConstructors[DenseMatrix] with Serializable
- Alphabetic
- By Inheritance
- DenseMatrix
- Serializable
- MatrixConstructors
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply[R, V](rows: R*)(implicit rl: LiteralRow[R, V], man: ClassTag[V], zero: Zero[V]): DenseMatrix[V]
Static constructor for a literal matrix.
Static constructor for a literal matrix.
- Definition Classes
- MatrixConstructors
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def canCreateZeros[T](implicit arg0: ClassTag[T], arg1: Zero[T]): CanCreateZeros[DenseMatrix[T], (Int, Int)]
- Definition Classes
- MatrixConstructors
- implicit def canCreateZerosLike[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanCreateZerosLike[DenseMatrix[V], DenseMatrix[V]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def create[V](rows: Int, cols: Int, data: Array[V], offset: Int, majorStride: Int, isTranspose: Boolean = false): DenseMatrix[V]
Creates a new DenseMatrix using the provided array (not making a copy!).
Creates a new DenseMatrix using the provided array (not making a copy!). In generic contexts, prefer to use this (or the other create methd) instead of
new DenseMatrix[V](rows, cols, data)
, which in general won't give specialized implementations. - def create[V](rows: Int, cols: Int, data: Array[V])(implicit arg0: Zero[V]): DenseMatrix[V]
Creates a new DenseMatrix using the provided array (not making a copy!).
Creates a new DenseMatrix using the provided array (not making a copy!). In generic contexts, prefer to use this (or the other create methd) instead of
new DenseMatrix[V](rows, cols, data)
, which in general won't give specialized implementations.- Definition Classes
- DenseMatrix → MatrixConstructors
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eye[V](dim: Int)(implicit arg0: ClassTag[V], arg1: Zero[V], arg2: Semiring[V]): DenseMatrix[V]
Creates a square diagonal array of size dim x dim, with 1's along the diagonal.
- def fill[V](rows: Int, cols: Int)(v: => V)(implicit arg0: ClassTag[V], arg1: Zero[V]): DenseMatrix[V]
- Definition Classes
- MatrixConstructors
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def horzcat[M, V](matrices: M*)(implicit ev: <:<[M, Matrix[V]], opset: operators.OpSet.InPlaceImpl2[DenseMatrix[V], M], vman: ClassTag[V], zero: Zero[V]): DenseMatrix[V]
Horizontally tiles some matrices.
Horizontally tiles some matrices. They must have the same number of rows
- 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](rows: Int, cols: Int)(implicit arg0: ClassTag[V], arg1: Zero[V], arg2: Semiring[V]): DenseMatrix[V]
Creates a matrix of all ones.
Creates a matrix of all ones.
- Definition Classes
- DenseMatrix → MatrixConstructors
- def rand[T](rows: Int, cols: Int, rand: Rand[T] = Rand.uniform)(implicit arg0: ClassTag[T], arg1: Zero[T]): DenseMatrix[T]
- Definition Classes
- MatrixConstructors
- implicit def scalarOf[T]: ScalarOf[DenseMatrix[T], T]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tabulate[V](rows: Int, cols: Int)(f: (Int, Int) => V)(implicit arg0: ClassTag[V], arg1: Zero[V]): DenseMatrix[V]
- Definition Classes
- MatrixConstructors
- def toString(): String
- Definition Classes
- AnyRef → Any
- def vertcat[V](matrices: DenseMatrix[V]*)(implicit opset: operators.OpSet.InPlaceImpl2[DenseMatrix[V], DenseMatrix[V]], vman: ClassTag[V], zero: Zero[V]): DenseMatrix[V]
Vertically tiles some matrices.
Vertically tiles some matrices. They must have the same number of columns
- 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](rows: Int, cols: Int)(implicit arg0: ClassTag[V], arg1: Zero[V]): DenseMatrix[V]
The standard way to create an empty matrix, size is rows * cols
The standard way to create an empty matrix, size is rows * cols
- Definition Classes
- DenseMatrix → MatrixConstructors
- object FrobeniusInnerProductDenseMatrixSpace