 | CPGULUDecomp Method |
Perform an LU decomposition on a square pager.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void LUDecomp(
CPG pg_i,
CPG pg_o,
CVV vv_perm
)
public static void LUDecomp(
CPG pg_i,
CPG pg_o,
CVV vv_perm
)
Public Shared Sub LUDecomp (
pg_i As CPG,
pg_o As CPG,
vv_perm As CVV
)
Public Shared Sub LUDecomp (
pg_i As CPG,
pg_o As CPG,
vv_perm As CVV
)
public:
static void LUDecomp(
CPG^ pg_i,
CPG^ pg_o,
CVV^ vv_perm
)
public:
static void LUDecomp(
CPG^ pg_i,
CPG^ pg_o,
CVV^ vv_perm
)
static member LUDecomp :
pg_i : CPG *
pg_o : CPG *
vv_perm : CVV -> unit
static member LUDecomp :
pg_i : CPG *
pg_o : CPG *
vv_perm : CVV -> unit
Parameters
- pg_i
- Type: GeoEngine.Core.GXNetCPG
Input - pg_o
- Type: GeoEngine.Core.GXNetCPG
LU decomposition (may be same pager as input) - vv_perm
- Type: GeoEngine.Core.GXNetCVV
Permutation vector (type INT)
Remarks
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
See Also