PrtCompressedBuffer.ExtractPca Method

Language:

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

Definition

Visual Basic 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
);
C++ public:
void ExtractPca(
    int startPca,
    int numberExtract,
    array<float>^ pcaCoefficients
);
JScript public function ExtractPca(
    startPca : int,
    numberExtract : int,
    pcaCoefficients : float[]
);

Parameters

startPca System.Int32
Starting index for PCA projection coefficients to extract from the buffer.
numberExtract System.Int32
Number of 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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