2 writes to _cur
Microsoft.ML.Transforms (2)
MissingValueReplacingUtils.cs (2)
445
_cur
= _cur - _cur / _cnz + val / _cnz;
447
_cur
+= (val - _cur) / _cnz;
14 references to _cur
Microsoft.ML.Transforms (14)
MissingValueReplacingUtils.cs (14)
430
Contracts.Assert(double.MinValue <=
_cur
&&
_cur
<= double.MaxValue);
444
if ((
_cur
> 0) ^ (val > 0))
445
_cur =
_cur
-
_cur
/ _cnz + val / _cnz;
447
_cur += (val -
_cur
) / _cnz;
449
Contracts.Assert(double.MinValue <=
_cur
&&
_cur
<= double.MaxValue);
454
Contracts.Assert(double.MinValue <=
_cur
&&
_cur
<= double.MaxValue);
467
double stat =
_cur
* ((double)_cnz / (count - _cna));
474
Contracts.Assert(double.MinValue <=
_cur
&&
_cur
<= double.MaxValue);
487
double stat =
_cur
* ((double)_cnz / ToDouble(Subtract(count, (ulong)_cna)));