Click or drag to resize

CPGULUDecomp Method

Perform an LU decomposition on a square pager.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void LUDecomp(
	CGXNETCore gxNetShared,
	CPG pg_i,
	CPG pg_o,
	CVV vv_perm
)

public static void LUDecomp(
	CGXNETCore gxNetShared,
	CPG pg_i,
	CPG pg_o,
	CVV vv_perm
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg_i
Type: GeoEngine.Core.GXNetXCPG
Input
pg_o
Type: GeoEngine.Core.GXNetXCPG
LU decomposition (may be same pager as input)
vv_perm
Type: GeoEngine.Core.GXNetXCVV
Permutation vector (type INT)
Remarks
The L and U matrix are both contained in the returned pager; The "L" matrix is composed of the sub-diagonal elements of the output pager, as well as "1" values on the diagonal. The "U" matrix is composed of the diagonal elements (sub-diagonal elements set to 0). This is an "in-place" operation, and set up so that the input and output pagers may be the same handle. (If they are different, the input pager remains unchanged). The LU decomposition, and the permutation vector are used for LUBackSub_PGU. Pagers must be type <define>GS_DOUBLE</define> and the permutation vector type INT
See Also