- Companion
- class
Type members
Classlikes
class Builder[@specialized(Double, Int, Float, Long) T](val rows: Int, val cols: Int, initNnz: Int)(implicit evidence$7: ClassTag[T], evidence$8: Semiring[T], evidence$9: Zero[T])
This is basically an unsorted coordinate matrix.
This is basically an unsorted coordinate matrix.
- Value Params
- cols
if negative, result will automatically infer size
- initNnz
initial number of nonzero entries
- rows
if negative, result will automatically infer size
- Companion
- object
Value members
Concrete methods
def create[@specialized(Double, Int, Float, Long) V](rows: Int, cols: Int, data: Array[V])(implicit evidence$6: Zero[V]): CSCMatrix[V]
Inherited methods
def apply[R, @specialized(Double, Int, Float, Long) V](rows: R*)(implicit rl: LiteralRow[R, V], man: ClassTag[V], zero: Zero[V]): CSCMatrix[V]
Static constructor for a literal matrix.
Static constructor for a literal matrix.
- Inherited from
- MatrixConstructors
def fill[@specialized(Double, Int, Float, Long) V](rows: Int, cols: Int)(v: => V)(implicit evidence$7: ClassTag[V], evidence$8: Zero[V]): CSCMatrix[V]
- Inherited from
- MatrixConstructors
def ones[@specialized(Double, Int, Float, Long) V](rows: Int, cols: Int)(implicit evidence$4: ClassTag[V], evidence$5: Zero[V], evidence$6: Semiring[V]): CSCMatrix[V]
Creates a matrix of all ones.
Creates a matrix of all ones.
- Inherited from
- MatrixConstructors
def rand[T](rows: Int, cols: Int, rand: Rand[T])(implicit evidence$11: ClassTag[T], evidence$12: Zero[T]): CSCMatrix[T]
- Inherited from
- MatrixConstructors
def tabulate[@specialized(Double, Int, Float, Long) V](rows: Int, cols: Int)(f: (Int, Int) => V)(implicit evidence$9: ClassTag[V], evidence$10: Zero[V]): CSCMatrix[V]
- Inherited from
- MatrixConstructors
Implicits
Inherited implicits
implicit def canCreateZeros[T](implicit evidence$13: ClassTag[T], evidence$14: Zero[T]): CanCreateZeros[CSCMatrix[T], (Int, Int)]
- Inherited from
- MatrixConstructors