 | CPGUPCScores Method |
Compute the principal component scores from the standardized data.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void PCScores(
CPG pg_x,
CPG pg_loadings,
CPG pg_scores
)
public static void PCScores(
CPG pg_x,
CPG pg_loadings,
CPG pg_scores
)
Public Shared Sub PCScores (
pg_x As CPG,
pg_loadings As CPG,
pg_scores As CPG
)
Public Shared Sub PCScores (
pg_x As CPG,
pg_loadings As CPG,
pg_scores As CPG
)
public:
static void PCScores(
CPG^ pg_x,
CPG^ pg_loadings,
CPG^ pg_scores
)
public:
static void PCScores(
CPG^ pg_x,
CPG^ pg_loadings,
CPG^ pg_scores
)
static member PCScores :
pg_x : CPG *
pg_loadings : CPG *
pg_scores : CPG -> unit
static member PCScores :
pg_x : CPG *
pg_loadings : CPG *
pg_scores : CPG -> unit
Parameters
- pg_x
- Type: GeoEngine.Core.GXNetCPG
Standardized data matrix (M by N) - pg_loadings
- Type: GeoEngine.Core.GXNetCPG
Principal component loadings (input) (N by L, L<=N) - pg_scores
- Type: GeoEngine.Core.GXNetCPG
Principal component scores (returned) (M by L, L<=N)
Remarks
t -1
Forms the product X Ap (Ap Ap), where X is the
standardized data matrix, and Ap is the matrix of
principal component loadings (see PCLoadings_PGU).
The loadings must be input, and can be calculated by calling
PCLoadings_PGU.
Pagers and VVs must be type <define>GS_DOUBLE</define>.
See Also