![](../icons/Help.png) | 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.GXNetXAssembly: 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>.
Syntaxpublic static void InvertMatrix(
CGXNETCore gxNetShared,
CPG pg_i,
CPG pg_o
)
Public Shared Sub InvertMatrix (
gxNetShared As CGXNETCore,
pg_i As CPG,
pg_o As CPG
)
public:
static void InvertMatrix(
CGXNETCore^ gxNetShared,
CPG^ pg_i,
CPG^ pg_o
)
static member InvertMatrix :
gxNetShared : CGXNETCore *
pg_i : CPG *
pg_o : CPG -> unit
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