1 write to _windowSize
Microsoft.ML.TimeSeries (1)
TrajectoryMatrix.cs (1)
126
_windowSize
= windowSize;
44 references to _windowSize
Microsoft.ML.TimeSeries (44)
TrajectoryMatrix.cs (44)
84
if (end <
_windowSize
)
91
ue =
_windowSize
- 1;
92
ve = end -
_windowSize
+ 1;
104
public int WindowSize { get { return
_windowSize
; } }
127
_k = _seriesLength -
_windowSize
+ 1;
128
_shouldFftUsed =
_windowSize
* _k > (3 + 3 * Math.Log(_seriesLength)) * _seriesLength;
148
_inputRe[
_windowSize
+ i] = _data[i];
174
_inputRe[
_windowSize
+ i] = _data[i];
192
_ectx.Assert(Utils.Size(cov) >=
_windowSize
*
_windowSize
);
205
for (i = 1; i <
_windowSize
; ++i)
209
cov[i *
_windowSize
+ j] = cov[j *
_windowSize
+ i];
212
for (j = i; j <
_windowSize
; ++j)
213
cov[i *
_windowSize
+ j] = (float)((double)cov[(i - 1) *
_windowSize
+ j - 1] - (double)_data[i - 1] * _data[j - 1] + (double)_data[i + _k - 1] * _data[j + _k - 1]);
225
Single[] covariance = new Single[
_windowSize
*
_windowSize
];
228
singularValues = new Single[
_windowSize
];
229
leftSingularvectors = new Single[
_windowSize
*
_windowSize
];
236
EigenUtils.MklSymmetricEigenDecomposition(covariance,
_windowSize
, out sVal, out sVec);
238
var ind = new int[
_windowSize
];
241
for (i = 0; i <
_windowSize
; ++i)
245
for (i = 0; i <
_windowSize
; ++i)
248
Array.Copy(sVec,
_windowSize
* ind[i], leftSingularvectors,
_windowSize
* i,
_windowSize
);
267
_ectx.Assert(Utils.Size(result) >=
_windowSize
+ dstIndex);
272
for (j = 0; j <
_windowSize
; ++j)
297
_ectx.Assert(Utils.Size(result) >=
_windowSize
+ dstIndex);
332
for (i = 0; i <
_windowSize
; ++i)
337
for (i = 0; i <
_windowSize
; ++i)
370
_ectx.Assert(Utils.Size(vector) >=
_windowSize
+ srcIndex);
380
for (i = 0; i <
_windowSize
; ++i)
400
_ectx.Assert(Utils.Size(vector) >=
_windowSize
+ srcIndex);
437
result[i + dstIndex] += RoundUpToReal(_outputRe[
_windowSize
- 1 + i], _outputIm[
_windowSize
- 1 + i]);
442
result[i + dstIndex] = RoundUpToReal(_outputRe[
_windowSize
- 1 + i], _outputIm[
_windowSize
- 1 + i]);
489
_ectx.Assert(0 <= ue && ue <
_windowSize
);
501
_ectx.Assert(Utils.Size(u) >=
_windowSize
+ uIndex);
562
_ectx.Assert(0 <= ue && ue <
_windowSize
);
572
_ectx.Assert(Utils.Size(u) >=
_windowSize
+ uIndex);