# SVDS

Advanced Analysis Library Only

AnalysisLibErrType SVDS (void *inputMatrix, int numberOfRows, int numberOfColumns, double singularValuesVector[]);

## Purpose

| Note This function is obsolete. National Instruments recommends that you use SVDEx instead.

Calculates only the singular values that result from the Singular Value Decomposition factorization of the real 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 | numeric array | Input real matrix. The input matrix can be either square or rectangular. This matrix must be an array of doubles.
numberOfRows | integer | Number of rows in inputMatrix.
numberOfColumns | integer | Number of columns in inputMatrix.
Output
Name | Type | Description
singularValuesVector | double-precision array | Array that contains the singular values of inputMatrix, in descending order.

## 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.