1 interface inheriting from IRootFunctions
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPointIeee754.cs (1)
14IRootFunctions<TSelf>,
70 references to IRootFunctions
System.Numerics.Tensors (34)
System\Numerics\Tensors\netcore\Tensor.cs (12)
2972where T : IRootFunctions<T> 2985where T : IRootFunctions<T> 3230where T : IRootFunctions<T> 3320where T : IRootFunctions<T> 3522where T : IRootFunctions<T> 3537where T : IRootFunctions<T> 4513where T : IRootFunctions<T> 4678where T : IRootFunctions<T> 4690where T : IRootFunctions<T> 4977where T : IRootFunctions<T> 4990where T : IRootFunctions<T> 5005where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorOperation.cs (5)
804where T : IRootFunctions<T> 938where T : IRootFunctions<T> 1161where T : IRootFunctions<T> 1819where T : IRootFunctions<T> 2030where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Cbrt.cs (2)
22where T : IRootFunctions<T> => 27where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (6)
32where T : IRootFunctions<T> 45private static T CosineSimilarityCore<T>(ReadOnlySpan<T> x, ReadOnlySpan<T> y) where T : IRootFunctions<T> 371private static T Finalize<T>(T dotProduct, T xSumOfSquares, T ySumOfSquares) where T : IRootFunctions<T> => 375private static T Finalize<T>(Vector128<T> dotProductVector, Vector128<T> xSumOfSquaresVector, Vector128<T> ySumOfSquaresVector) where T : IRootFunctions<T> => 379private static T Finalize<T>(Vector256<T> dotProductVector, Vector256<T> xSumOfSquaresVector, Vector256<T> ySumOfSquaresVector) where T : IRootFunctions<T> => 383private static T Finalize<T>(Vector512<T> dotProductVector, Vector512<T> xSumOfSquaresVector, Vector512<T> ySumOfSquaresVector) where T : IRootFunctions<T> =>
System\Numerics\Tensors\netcore\TensorPrimitives.Distance.cs (1)
35where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Hypot.cs (2)
25where T : IRootFunctions<T> 37where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Norm.cs (1)
26where T : IRootFunctions<T> =>
System\Numerics\Tensors\netcore\TensorPrimitives.RootN.cs (2)
23where T : IRootFunctions<T> => 27private readonly struct RootNOperator<T>(int n) : IStatefulUnaryOperator<T> where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sqrt.cs (2)
21where T : IRootFunctions<T> 33where T : IRootFunctions<T>
System\Numerics\Tensors\netcore\TensorPrimitives.StdDev.cs (1)
20where T : IRootFunctions<T>
System.Private.CoreLib (35)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
1538/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1542/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1699/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1822/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
2260/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 2263/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 2266/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 2269/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (4)
1983/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1986/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1989/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1992/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (4)
964/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1000/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1045/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1074/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (4)
975/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1011/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1056/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1085/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (4)
968/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1004/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1049/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1078/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IRootFunctions.cs (1)
10where TSelf : IRootFunctions<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
1655where T : IRootFunctions<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (4)
1758/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1761/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1764/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1767/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
2099where T : IRootFunctions<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (4)
1555/// <inheritdoc cref="IRootFunctions{TSelf}.Cbrt(TSelf)" /> 1559/// <inheritdoc cref="IRootFunctions{TSelf}.Hypot(TSelf, TSelf)" /> 1613/// <inheritdoc cref="IRootFunctions{TSelf}.RootN(TSelf, int)" /> 1736/// <inheritdoc cref="IRootFunctions{TSelf}.Sqrt(TSelf)" />
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
407[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IRootFunctions<>))]