Click or drag to resize

CPGUInvertMatrix Method

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

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void InvertMatrix(
	CPG pg_i,
	CPG pg_o
)

public static void InvertMatrix(
	CPG pg_i,
	CPG pg_o
)

Parameters

pg_i
Type: GeoEngine.Core.GXNetCPG
Input matrix
pg_o
Type: GeoEngine.Core.GXNetCPG
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