InvDCT

Advanced Analysis Library Only

AnalysisLibErrType InvDCT (double inputArray[], int numberOfElements, double outputArray[]);

Purpose

Computes the one-dimensional inverse Discrete Cosine Transform (DCT) of the input sequence. If inputArray represents the input sequence of DCT{x}, the one-dimensional inverse DCT of inputArray is defined as follows:

where

y denotes inputArray, x denotes outputArray, and N denotes numberOfElements.

Parameters

Input
Name Type Description
inputArray double-precision array The input sequence.
numberOfElements integer The number of elements in inputArray.
Output
Name Type Description
outputArray double-precision array The inverse DCT of inputArray.

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.