| FloatSWTWaveletCoefficients Method |
Provides access to the details and approximation vectors. All details and approximation vectors are the same
length with a SWT signal decomposition.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public float[] WaveletCoefficients(
DiscreteWaveletTransformWaveletCoefficientType type,
int N
)
Public Function WaveletCoefficients (
type As DiscreteWaveletTransformWaveletCoefficientType,
N As Integer
) As Single()
public:
array<float>^ WaveletCoefficients(
DiscreteWaveletTransformWaveletCoefficientType type,
int N
)
member WaveletCoefficients :
type : DiscreteWaveletTransformWaveletCoefficientType *
N : int -> float32[]
Parameters
- type DiscreteWaveletTransformWaveletCoefficientType
- The wavelet coefficient type, either details or approximation.
- N Int32
- Decomposition level needed, starting with N = 1 and continuing to the maximum level of decomposition computed.
Return Value
SingleThe detail or approximation vector at level N.
Exceptions Exception | Condition |
---|
NMathException | A signal Decompose() must be completed before any signal details vectors can be accessed. |
InvalidArgumentException | A level of signal decomposition has been requested that is beyond the maximum level of signal decomposition available. |
Remarks Similar to MATLAB's wrcoef.
See Also