Builder

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.

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
class Object
trait Matchable
class Any

Value members

Concrete methods

def activeSize: Int
def add(r: Int, c: Int, v: T): Unit
def result: CSCMatrix[T]
def result(keysAlreadyUnique: Boolean, keysAlreadySorted: Boolean): CSCMatrix[T]
def sizeHint(nnz: Int): Unit

Concrete fields

val cols: Int
val rows: Int