Click or drag to resize
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.GXNetX
Assembly: 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
Syntax
public static void LUBackSub(
	CGXNETCore gxNetShared,
	CPG pg_a,
	CVV vv_i,
	CVV vv_b,
	CVV vv_sol
)

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