![](../icons/Help.png) | CPGULUBackSub Method |
Solve a linear system using LU decomposition and back-substitution.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Solves the system Ax = b for a given b, using the LU decomposition
of the matrix a
The LU decomposition and the permutation vector are obtained
from LUBackSub_PGU.
Pagers and VVs must be type <define>GS_DOUBLE</define> except for the permutation vector,
which should be INT
Syntaxpublic static void LUBackSub(
CGXNETCore gxNetShared,
CPG pg_a,
CVV vv_i,
CVV vv_b,
CVV vv_sol
)
Public Shared Sub LUBackSub (
gxNetShared As CGXNETCore,
pg_a As CPG,
vv_i As CVV,
vv_b As CVV,
vv_sol As CVV
)
public:
static void LUBackSub(
CGXNETCore^ gxNetShared,
CPG^ pg_a,
CVV^ vv_i,
CVV^ vv_b,
CVV^ vv_sol
)
static member LUBackSub :
gxNetShared : CGXNETCore *
pg_a : CPG *
vv_i : CVV *
vv_b : CVV *
vv_sol : CVV -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - pg_a
- Type: GeoEngine.Core.GXNetXCPG
LU decomposition of A - vv_i
- Type: GeoEngine.Core.GXNetXCVV
Permutation vector (type INT) - vv_b
- Type: GeoEngine.Core.GXNetXCVV
Right hand side vector B (input) - vv_sol
- Type: GeoEngine.Core.GXNetXCVV
Solution vector (output)
See Also