C# Class CSparse.Interop.SuiteSparse.CXSparse.CXSparseContext

CXSparse context wrapping native factorization.
Inheritance: IDisposableSolver
Mostrar archivo Open project: wo80/csparse-interop

Protected Properties

Property Type Description
factorized bool
handles List
matrix CompressedColumnStorage
ordering ColumnOrdering
w T[]

Public Methods

Method Description
CXSparseContext ( CompressedColumnStorage matrix, ColumnOrdering ordering ) : CSparse.Factorization
Dispose ( ) : void
Factorize ( ) : void

Factorizes the matrix associated to this CXSparse context.

Solve ( Array input, Array result ) : void

Solve system of linear equations.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
DoFactorize ( ) : int

Do symbolic and numeric factorization for current type.

Private Methods

Method Description
CreateSparse ( CompressedColumnStorage matrix, List handles ) : CSparse.Interop.SuiteSparse.CXSparse.cs
cs_nfree ( CSparse.Interop.SuiteSparse.CXSparse.csn &N ) : void
cs_sfree ( CSparse.Interop.SuiteSparse.CXSparse.css &S ) : void
cs_spfree ( CSparse.Interop.SuiteSparse.CXSparse.cs &A ) : void

Method Details

CXSparseContext() public method

public CXSparseContext ( CompressedColumnStorage matrix, ColumnOrdering ordering ) : CSparse.Factorization
matrix CompressedColumnStorage
ordering ColumnOrdering
return CSparse.Factorization

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DoFactorize() protected abstract method

Do symbolic and numeric factorization for current type.
protected abstract DoFactorize ( ) : int
return int

Factorize() public method

Factorizes the matrix associated to this CXSparse context.
public Factorize ( ) : void
return void

Solve() public abstract method

Solve system of linear equations.
public abstract Solve ( Array input, Array result ) : void
input Array Right-hand side b.
result Array The solution x.
return void

Property Details

factorized protected_oe property

protected bool factorized
return bool

handles protected_oe property

protected List handles
return List

matrix protected_oe property

protected CompressedColumnStorage matrix
return CompressedColumnStorage

ordering protected_oe property

protected ColumnOrdering ordering
return ColumnOrdering

w protected_oe property

protected T[] w
return T[]