![](../icons/Help.png) | CPGULUBackSub Method |
Solve a linear system using LU decomposition and back-substitution.
Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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 REAL except for the permutation vector,
which should be INT
Syntaxpublic static void LUBackSub(
CPG oPG1,
CVV oVV2,
CVV oVV3,
CVV oVV4
)
Public Shared Sub LUBackSub (
oPG1 As CPG,
oVV2 As CVV,
oVV3 As CVV,
oVV4 As CVV
)
public:
static void LUBackSub(
CPG^ oPG1,
CVV^ oVV2,
CVV^ oVV3,
CVV^ oVV4
)
static member LUBackSub :
oPG1 : CPG *
oVV2 : CVV *
oVV3 : CVV *
oVV4 : CVV -> unit
Parameters
- oPG1
- Type: GeoEngine.Core.GXNetCPG
LU decomposition of A - oVV2
- Type: GeoEngine.Core.GXNetCVV
permutation vector (type INT) - oVV3
- Type: GeoEngine.Core.GXNetCVV
right hand side vector B (input) - oVV4
- Type: GeoEngine.Core.GXNetCVV
solution vector (output)
See Also