Microsoft DirectX 9.0 SDK Update (October 2004)

PrtCompressedBuffer.ExtractPca Method

Language:

Note: This documentation is preliminary and is subject to change.

Extracts the per-sample principal component analysis (PCA) projection coefficients from a PrtCompressedBuffer object.

Definition

Visual Basic .NET Public Sub ExtractPca( _
    ByVal startPca As Integer, _
    ByVal numberExtract As Integer, _
    ByVal pcaCoefficients() As Single _
)
C# public void ExtractPca(
    int startPca,
    int numberExtract,
    float[] pcaCoefficients
);
Managed C++ public: void ExtractPca(
    int startPca,
    int numberExtract,
    float pcaCoefficients __gc[]
);
JScript .NET public function ExtractPca(
    startPca : int,
    numberExtract : int,
    pcaCoefficients : float[]
);

Parameters

startPca System.Int32. Starting index for principal component analysis (PCA) projection coefficients to extract from the buffer.
numberExtract System.Int32. Number of principal component analysis (PCA) projection coefficients to extract from the buffer.
pcaCoefficients System.Single[]. Pointer to the location where clustered principal component analysis (CPCA) coefficients are written. The size of the data written is (Number of Samples) * (Number of PCA Coefficients).

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center