c09cd Method
関数リスト一覧   NagLibrary Namespaceへ  ライブラリイントロダクション  本ヘルプドキュメントのchm形式版

c09cd computes the inverse one-dimensional multi-level discrete wavelet transform (DWT). This method reconstructs data from (possibly filtered or otherwise manipulated) wavelet transform coefficients calculated by c09cc from an original set of data.

Syntax

C#
public static void c09cd(
	double[] c,
	int n,
	double[] y,
	C09..::.C09Communications communications,
	out int ifail
)
Visual Basic (Declaration)
Public Shared Sub c09cd ( _
	c As Double(), _
	n As Integer, _
	y As Double(), _
	communications As C09..::.C09Communications, _
	<OutAttribute> ByRef ifail As Integer _
)
Visual C++
public:
static void c09cd(
	array<double>^ c, 
	int n, 
	array<double>^ y, 
	C09..::.C09Communications^ communications, 
	[OutAttribute] int% ifail
)
F#
static member c09cd : 
        c:float[] * 
        n:int * 
        y:float[] * 
        communications:C09..::.C09Communications * 
        ifail:int byref -> unit 

Parameters

c
Type: array< System..::.Double >[]()[]
An array of size [lenc]
Note: lenc must satisfy the constraint: lencnc, where nc is the number of approximation and detail coefficients that correspond to a transform with ResolutionLevelCount levels and is unchanged from the preceding call to c09cc.
On entry: the coefficients of a multi-level wavelet transform of the dataset.
If nanl and ndi, for i=nl,nl-1,,1, are the numbers of approximation and detail coefficients, then setting k1=nanl and kj+1=nanl+ i=1 j n d nl -i+1 , for j=1,2,,nl, the coefficients are stored in c as follows:
c[0:k1-1]
Contains the level nl approximation coefficients, anl.
c[k1:k2-1]
Contains the level nl detail coefficients dnl.
c[kj:kj+1-1]
Contains the level nl-j+1 detail coefficients, for j=2,,nl.
The values nanl and ndnl-i+1, for i=1,2,,nl are contained in dwtlev which is produced as output by a preceding call to c09cc. See c09cc for details.
n
Type: System..::.Int32
On entry: n, the length of the data array, y, to be reconstructed.
Constraint: This must be the same as the value n passed to the initialization method the C09Communication class constructor.
y
Type: array< System..::.Double >[]()[]
An array of size [n]
On exit: the dataset reconstructed from the multi-level wavelet transform coefficients and the transformation options supplied to the initialization method the C09Communication class constructor.
communications
Type: NagLibrary..::.C09..::.C09Communications
An object of type C09.c09cdCommunications.
ifail
Type: System..::.Int32 %
On exit: ifail=0 unless the method detects an error (see [Error Indicators and Warnings]).

Description

c09cd performs the inverse operation of c09cc. That is, given a set of wavelet coefficients, computed by c09cc using a DWT , on a real data array of length n, c09cd will reconstruct the data array yi, for i=1,2,,n, from which the coefficients were derived.

References

Error Indicators and Warnings

Accuracy

Further Comments

Example

See Also