Admin Production ni-theme
Current Publication

CxSVDS

LabWindows/CVI

CxSVDS

Advanced Analysis Library Only

AnalysisLibErrType CxSVDS (void *inputMatrix, ssize_t numberOfRows, ssize_t numberOfColumns, NIComplexNumber singularValuesVector[]);

Purpose

Note Note  This function has been superseded by CxSVDEx.

Calculates only the singular values that result from the Singular Value Decomposition (SVD) factorization of the complex input matrix. The input matrix can be square or rectangular.

Use this function if your application requires only the singular values.

Parameters

Input
Name Type Description
inputMatrix void * Input complex matrix. The input matrix can be either square or rectangular. This matrix must be an array of ComplexNum. The following C typedef statement defines the ComplexNum structure:

typedef struct {

double real;

double imaginary;

} ComplexNum;

numberOfRows ssize_t The number of rows in inputMatrix.
numberOfColumns ssize_t The number of columns in inputMatrix.
Output
Name Type Description
singularValuesVector NIComplexNumber [] Array that contains the singular values of , in descending order. The following C typedef statement defines the ComplexNum structure:

typedef struct {

double real;

double imaginary;

} ComplexNum;

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.

Additional Information

Library: Advanced Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later