XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches
Functions
Cg1.bas File Reference

Functions

Sub Cg1 (N As Long, Val() As Double, Rowptr() As Long, Colind() As Long, B() As Double, X() As Double, Optional Info As Long, Optional Iter As Long, Optional Res As Double, Optional MaxIter As Long=500, Optional Tol As Double=1.0E-10, Optional Uplo As String="F")
 Solution of linear system Ax = b using conjugate gradient (CG) method (Symmetric positive definite matrix) (Simple driver)