In file sparsematrix.hpp:

class MatrixGraph

The graph of a sparse matrix

Documentation

The graph of a sparse matrix

Inheritance:


Public Methods

[more]int GetPosition(int i, int j) const
returns position of Element (i, j), exception for unused
[more]int GetPositionTest(int i, int j) const
returns position of Element (i, j), -1 for unused
[more]void GetPositionsSorted(int row, int n, int* pos) const
find positions of n sorted elements, overwrite pos, exception for unused
[more]int CreatePosition(int i, int j)
returns position of new element

Protected Fields

[more]int size
number of rows
[more]int nze
non-zero elements
[more]int* colnr
column numbers
[more]int* firsti
pointer to first in row
[more]int* diagi
position of diagonal element
[more]bool owner
owner of arrays ?

oint size
number of rows

oint nze
non-zero elements

oint* colnr
column numbers

oint* firsti
pointer to first in row

oint* diagi
position of diagonal element

obool owner
owner of arrays ?

oint GetPosition(int i, int j) const
returns position of Element (i, j), exception for unused

oint GetPositionTest(int i, int j) const
returns position of Element (i, j), -1 for unused

ovoid GetPositionsSorted(int row, int n, int* pos) const
find positions of n sorted elements, overwrite pos, exception for unused

oint CreatePosition(int i, int j)
returns position of new element


Direct child classes:
BaseSparseMatrix

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.