CSCMatrix

Companion:
class
class Object
trait Matchable
class Any

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 parameters:
cols

if negative, result will automatically infer size

initNnz

initial number of nonzero entries

rows

if negative, result will automatically infer size

Companion:
object
object Builder
Companion:
class

Value members

Concrete methods

def create[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int, data: Array[V]): CSCMatrix[V]
def zeros[@specialized(Int, Float, Double) V : Zero](rows: Int, cols: Int, initialNonzero: Int): CSCMatrix[V]
def zeros[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int): 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 : Zero](rows: Int, cols: Int)(v: => V): CSCMatrix[V]
Inherited from:
MatrixConstructors
def ones[@specialized(Double, Int, Float, Long) V : Semiring](rows: Int, cols: Int): CSCMatrix[V]

Creates a matrix of all ones.

Creates a matrix of all ones.

Inherited from:
MatrixConstructors
def rand[T : Zero](rows: Int, cols: Int, rand: Rand[T]): CSCMatrix[T]
Inherited from:
MatrixConstructors
def tabulate[@specialized(Double, Int, Float, Long) V : Zero](rows: Int, cols: Int)(f: (Int, Int) => V): CSCMatrix[V]
Inherited from:
MatrixConstructors

Implicits

Implicits

implicit def canDim[E]: Impl[CSCMatrix[E], (Int, Int)]

Inherited implicits

implicit def canCreateZeros[T : Zero]: CanCreateZeros[CSCMatrix[T], (Int, Int)]
Inherited from:
MatrixConstructors