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)
430Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 444if ((_cur > 0) ^ (val > 0)) 445_cur = _cur - _cur / _cnz + val / _cnz; 447_cur += (val - _cur) / _cnz; 449Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 454Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 467double stat = _cur * ((double)_cnz / (count - _cna)); 474Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 487double stat = _cur * ((double)_cnz / ToDouble(Subtract(count, (ulong)_cna)));