 | CPGULUBackSub Method |
Solve a linear system using LU decomposition and back-substitution.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void LUBackSub(
CPG pg_a,
CVV vv_i,
CVV vv_b,
CVV vv_sol
)
public static void LUBackSub(
CPG pg_a,
CVV vv_i,
CVV vv_b,
CVV vv_sol
)
Public Shared Sub LUBackSub (
pg_a As CPG,
vv_i As CVV,
vv_b As CVV,
vv_sol As CVV
)
Public Shared Sub LUBackSub (
pg_a As CPG,
vv_i As CVV,
vv_b As CVV,
vv_sol As CVV
)
public:
static void LUBackSub(
CPG^ pg_a,
CVV^ vv_i,
CVV^ vv_b,
CVV^ vv_sol
)
public:
static void LUBackSub(
CPG^ pg_a,
CVV^ vv_i,
CVV^ vv_b,
CVV^ vv_sol
)
static member LUBackSub :
pg_a : CPG *
vv_i : CVV *
vv_b : CVV *
vv_sol : CVV -> unit
static member LUBackSub :
pg_a : CPG *
vv_i : CVV *
vv_b : CVV *
vv_sol : CVV -> unit
Parameters
- pg_a
- Type: GeoEngine.Core.GXNetCPG
LU decomposition of A - vv_i
- Type: GeoEngine.Core.GXNetCVV
Permutation vector (type INT) - vv_b
- Type: GeoEngine.Core.GXNetCVV
Right hand side vector B (input) - vv_sol
- Type: GeoEngine.Core.GXNetCVV
Solution vector (output)
Remarks
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
See Also