Click or drag to resize
CPGUInvertMatrix Method
Inverts a square matrix using LU decomp. 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
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>.
Syntax
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).
See Also