The Application is realized as the dynamic library dll. The interaction with the library is carried out by means of two functions:
Function RUNWVL
var d = newDLL("tsewvl.dll");
d.addFunction("runwvl",
DLL.FLOAT, DLL.STDCALL,"RUNWVL", DLL.FLOATARRAY,DLL.INT,DLL.FLOAT);
Returns value DeNoise
DLL.FLOATARRAY - Defines the
block (should be formed using eSignal)
DLL.INT - Number of scales (inside
dll number of bars are calculated using formula Lookback = Power(2, Scales); )
DLL.FLOAT - TraceHoldConstat
(for example 3)
Function GETALLVALUES
var
d = new DLL("tsewvl.dll");
d.addFunction("getallvalues",
DLL.FLOAT,
DLL.STDCALL,"GETALLVALUES", DLL.INT,DLL.INT);
Depending on parameters (I)
returns value of Redundant Haar, Noise Sigma or filtered coefficients.
I. Coefficients number
1.
Redundant Haar
2.
Noise Sigma
3.
Filtered coefficients (often is similar to Redundant Haar(I) or has
value 0 )
II.
Value number of coefficient in a row, 1, 2, etc. depending on number of scales,
if 8 scales then rows of values will be:
1.
(Redundant Haar) 8 scales + residue = 9.
2.
(Noise Sigma) 8 values
(Filtered coefficients) like with Redundant Haar 8 scales + residue = 9.