Options
All
  • Public
  • Public/Protected
  • All
Menu

A sparse matrix class implemented in terms of compressed sparse row (CSR) scheme (3-vector variation) one-based indexing is used INTERNALLY, for interfacing with MKL (mkl_dcsradd and mkl_dcsrmultcsr) externally still zero-based indexing

Hierarchy

  • SparseMatrix

Index

Constructors

constructor

  • Returns SparseMatrix

Properties

Private _column_size

_column_size: Integer

Private _columns

_columns: Integer[]

Private _filled_row_until

_filled_row_until: Size

Private _rowIndex

_rowIndex: Integer[]

Private _row_size

_row_size: Integer

Private _values

_values: Real[]

Methods

add

adda

clone

  • Returns SparseMatrix

column_size

  • column_size(): Size
  • Returns Size

f

  • Parameters

    Returns Real

filled_size

  • filled_size(): Size
  • Returns Size

Private findIndex

  • Parameters

    Returns [Integer, Size]

Private insert

  • Parameters

    Returns void

minusAssign

  • operator

    -

    Returns SparseMatrix

mulScalar

  • operator

    *

    Parameters

    Returns SparseMatrix

mulScalarAssign

  • operator

    *=

    Parameters

    Returns SparseMatrix

mulVector

  • operator

    *

    Parameters

    Returns Real[]

row_size

  • Returns Size

set

  • Parameters

    Returns void

smInit1

  • Parameters

    Returns SparseMatrix

smInit2

smInit3

sub

suba

to

  • Returns Real[][]

Static from

  • Parameters

    Returns SparseMatrix