Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

data

data: SparseVec

m

m: number

n

n: number

Methods

at

  • at(m: number, n: number, safe?: boolean): number

Protected ensureSize

nnz

  • nnz(): number

nnzCol

  • nnzCol(n: number): number

nnzRow

  • nnzRow(m: number): number

nzColRows

  • nzColRows(n: number): number[]

nzColVals

  • nzColVals(n: number): number[]

nzEntries

  • nzEntries(): Generator<NzEntry, void, unknown>

nzRowCols

  • nzRowCols(m: number): number[]

nzRowVals

  • nzRowVals(m: number): number[]

setAt

  • setAt(m: number, n: number, v: number, safe?: boolean): Diag

toCSC

toCSR

toDense

  • toDense(): any[]

trace

  • trace(): number

Static identity

  • identity(m: number): Diag

Generated using TypeDoc