Click or drag to resize

CPGUSVRecompose Method

Reconstitute the original matrix from an SVD.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void SVRecompose(
	CPG pg_u,
	CVV vv_w,
	CPG pg_v,
	double min_w,
	CPG pg_a
)

public static void SVRecompose(
	CPG pg_u,
	CVV vv_w,
	CPG pg_v,
	double min_w,
	CPG pg_a
)

Parameters

pg_u
Type: GeoEngine.Core.GXNetCPG
U matrix
vv_w
Type: GeoEngine.Core.GXNetCVV
Weights (W)
pg_v
Type: GeoEngine.Core.GXNetCPG
V matrix
min_w
Type: SystemDouble
Minimum weight to use (Dummy for all)
pg_a
Type: GeoEngine.Core.GXNetCPG
A matrix (returned)
Remarks
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 <define>GS_DOUBLE</define>. 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 <define>GS_DOUBLE</define>. Dummies are treated as 0 values.
See Also