20 references to Sqrt
Microsoft.Maui.Graphics (9)
GeometryUtil.cs (1)
14
return MathF.
Sqrt
(a * a + b * b);
Matrix3x2Extensions.cs (2)
145
return MathF.
Sqrt
(areaScale);
166
scale = MathF.
Sqrt
(MathF.Abs(det));
PathArcExtensions.cs (5)
47
rx = MathF.
Sqrt
(radiiCheck) * rx;
48
ry = MathF.
Sqrt
(radiiCheck) * ry;
57
float coef = sign * MathF.
Sqrt
(sq);
74
float n = MathF.
Sqrt
(ux * ux + uy * uy);
82
n = MathF.
Sqrt
((ux * ux + uy * uy) * (vx * vx + vy * vy));
PointF.cs (1)
116
return MathF.
Sqrt
(MathF.Pow(X - other.X, 2) + MathF.Pow(Y - other.Y, 2));
Microsoft.ML.CpuMath (1)
FactorizationMachine\AvxIntrinsics.cs (1)
184
pw[j] -= learningRate / MathF.
Sqrt
(phw[j]) * g;
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorExtensions.cs (1)
3528
return T.CreateChecked(MathF.
Sqrt
(float.CreateChecked(variance)));
System\Numerics\Tensors\TensorPrimitives.Single.cs (2)
206
return MathF.
Sqrt
(Aggregate<SubtractSquaredOperator_Single, AddOperator_Single>(x, y));
696
MathF.
Sqrt
(SumOfSquares(x));
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2171
public static Half Sqrt(Half x) => (Half)MathF.
Sqrt
((float)x);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (5)
1471
return (T)(object)(byte)MathF.
Sqrt
((byte)(object)value);
1479
return (T)(object)(short)MathF.
Sqrt
((short)(object)value);
1499
return (T)(object)(sbyte)MathF.
Sqrt
((sbyte)(object)value);
1503
return (T)(object)(float)MathF.
Sqrt
((float)(object)value);
1507
return (T)(object)(ushort)MathF.
Sqrt
((ushort)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1641
public static float Sqrt(float x) => MathF.
Sqrt
(x);