![](../icons/Help.png) | CPGULUDecomp Method |
Perform an LU decomposition on a square pager.
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
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
Syntaxpublic static void LUDecomp(
CGXNETCore gxNetShared,
CPG pg_i,
CPG pg_o,
CVV vv_perm
)
Public Shared Sub LUDecomp (
gxNetShared As CGXNETCore,
pg_i As CPG,
pg_o As CPG,
vv_perm As CVV
)
public:
static void LUDecomp(
CGXNETCore^ gxNetShared,
CPG^ pg_i,
CPG^ pg_o,
CVV^ vv_perm
)
static member LUDecomp :
gxNetShared : CGXNETCore *
pg_i : CPG *
pg_o : CPG *
vv_perm : CVV -> unit
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)
See Also