Click or drag to resize
CPGUSVRecompose Method
Reconstitute the original matrix from an SVD.

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The matrix is input as an N rows (data) by M columns (variables) PG. On return, the matrix is decomposed to A = U * W * Vt. If M<N, then an error will be registered. In this case, augment the "A" PG with rows of zero values. The input matrices must be A[M,N], U[M.N] and V[N,N]. The length of the W VV is set by sSVDecompose_PGU to N. The Pagers must be type GS_DOUBLE. Terminates if: U is not M by N. (Taken from size of A) V is not N by N. (Taken from #columns in A). PGs, VV are not REAL. Dummies are treated as 0 values.
Syntax
public static void SVRecompose(
	CPG oPG1,
	CVV oVV2,
	CPG oPG3,
	double d4,
	CPG oPG5
)

Parameters

oPG1
Type: GeoEngine.Core.GXNetCPG
U matrix
oVV2
Type: GeoEngine.Core.GXNetCVV
Weights (W)
oPG3
Type: GeoEngine.Core.GXNetCPG
V matrix
d4
Type: SystemDouble
Minimum weight to use (Dummy for all)
oPG5
Type: GeoEngine.Core.GXNetCPG
A matrix (returned)
See Also