Click or drag to resize

CPGUInvertMatrix Method

Inverts a square matrix using LU decomp. and back-substitution

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

public static void InvertMatrix(
	CGXNETCore gxNetShared,
	CPG pg_i,
	CPG pg_o
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg_i
Type: GeoEngine.Core.GXNetXCPG
Input matrix
pg_o
Type: GeoEngine.Core.GXNetXCPG
Output inverted matrix (can be same as input).
Remarks
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). Pagers and VVs must be type <define>GS_DOUBLE</define>.
See Also