10 references to Sign
Microsoft.ML.Core (2)
Utilities\Stats.cs (1)
351
u = Math.
Sign
(u) * 0.5 - u;
Utilities\SummaryStatistics.cs (1)
280
double z2 = (1 - 2 / (9 * a) - Math.
Sign
(toCubeRoot) * Math.Pow(Math.Abs(toCubeRoot), 1.0 / 3.0)) /
Microsoft.ML.Data (1)
Transforms\NormalizeColumnDbl.cs (1)
1489
return (TFloat)(0.5 + 0.5 * Math.
Sign
(x) * Math.Sqrt(1 - Math.Exp(-x2 * (4 / Math.PI + ax2) / (1 + ax2))));
Microsoft.ML.Mkl.Components (2)
OlsLinearRegression.cs (2)
883
Contracts.CheckDecode(Math.
Sign
(param) == Math.
Sign
(tvalue));
Microsoft.ML.TimeSeries (1)
TrajectoryMatrix.cs (1)
156
return (Single)(coeff * Math.
Sign
(re) * Math.Sqrt(re * re + im * im));
PresentationCore (1)
System\Windows\Media3D\Ray3DHitTestResult.cs (1)
93
return Math.
Sign
(x.DistanceToRayOrigin - y.DistanceToRayOrigin);
PresentationFramework (1)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
848
sign = Math.
Sign
(next.Left - current.Left);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1026
public static int Sign(double value) => Math.
Sign
(value);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
860
double alternativeResult = (regularMod - (Abs(y) *
Sign
(x)));