SparseMatrix

class SparseMatrix(val nbRows: Int, val nbCols: Int, val colPtrs: Array[Int], val rowIndices: Array[Int], val values: Array[Double], val diagDefault: Option[Double], val offDiagDefault: Option[Double]) extends Matrix

Column-major sparse matrix.

Companion:
object
trait Matrix
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(i: Int, j: Int): Double
Definition Classes
def default(i: Int, j: Int): Double
def index(i: Int, j: Int): Int
override def kind: MatrixKind
Definition Classes

Inherited methods

def default: Double
Inherited from:
Matrix
Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val colPtrs: Array[Int]
val diagDefault: Option[Double]
val nbCols: Int
val nbRows: Int
val offDiagDefault: Option[Double]
val rowIndices: Array[Int]
val values: Array[Double]