Click or drag to resize

FloatDWTIDWT Method

Single step discrete wavelet reconstruction.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public float[] IDWT(
	float[] approx,
	float[] details,
	bool sizeMatch = true
)

Parameters

approx  Single
The DWT approximation array.
details  Single
The DWT details array.
sizeMatch  Boolean  (Optional)
If sizeMatch is false then the approximation vector must be one element longer than the details vector. Useful for reconstruction.

Return Value

Single
The reconstructed signal.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThe approximation and details arrays must have the same length when sizeMatch is true.
InvalidArgumentExceptionThe approximation array length must be one greater than the details array length when sizeMatch is false.
InvalidArgumentExceptionThe approximation and details arrays must have a length of at least half the wavelet length.
ArgumentNullExceptionBoth approximation and details arrays must be non-null.
See Also