190 references to VectorMath
System.Private.CoreLib (190)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (35)
712return VectorMath.CosDouble<Vector<double>, Vector<long>>(vector); 726return VectorMath.CosSingle<Vector<float>, Vector<int>, Vector<double>, Vector<long>>(vector); 749return VectorMath.CopySign<Vector<T>, T>(value, sign); 902return VectorMath.DegreesToRadians<Vector<double>, double>(degrees); 917return VectorMath.DegreesToRadians<Vector<float>, float>(degrees); 1045return VectorMath.ExpDouble<Vector<double>, Vector<ulong>>(vector); 1059return VectorMath.ExpSingle<Vector<float>, Vector<uint>, Vector<double>, Vector<ulong>>(vector); 1402return VectorMath.HypotDouble<Vector<double>, Vector<ulong>>(x, y); 1416return VectorMath.HypotSingle<Vector<float>, Vector<double>>(x, y); 1470return VectorMath.IsEvenIntegerSingle<Vector<float>, Vector<uint>>(vector.As<T, float>()).As<float, T>(); 1474return VectorMath.IsEvenIntegerDouble<Vector<double>, Vector<ulong>>(vector.As<T, double>()).As<double, T>(); 1597return VectorMath.IsOddIntegerSingle<Vector<float>, Vector<uint>>(vector.As<T, float>()).As<float, T>(); 1601return VectorMath.IsOddIntegerDouble<Vector<double>, Vector<ulong>>(vector.As<T, double>()).As<double, T>(); 1734return VectorMath.Lerp<Vector<double>, double>(x, y, amount); 1753return VectorMath.Lerp<Vector<float>, float>(x, y, amount); 2026return VectorMath.LogDouble<Vector<double>, Vector<long>, Vector<ulong>>(vector); 2040return VectorMath.LogSingle<Vector<float>, Vector<int>, Vector<uint>>(vector); 2068return VectorMath.Log2Double<Vector<double>, Vector<long>, Vector<ulong>>(vector); 2082return VectorMath.Log2Single<Vector<float>, Vector<int>, Vector<uint>>(vector); 2097return VectorMath.Max<Vector<T>, T>(left, right); 2120return VectorMath.MaxMagnitude<Vector<T>, T>(left, right); 2143return VectorMath.MaxMagnitudeNumber<Vector<T>, T>(left, right); 2189return VectorMath.MaxNumber<Vector<T>, T>(left, right); 2212return VectorMath.Min<Vector<T>, T>(left, right); 2235return VectorMath.MinMagnitude<Vector<T>, T>(left, right); 2258return VectorMath.MinMagnitudeNumber<Vector<T>, T>(left, right); 2304return VectorMath.MinNumber<Vector<T>, T>(left, right); 2587return VectorMath.RadiansToDegrees<Vector<double>, double>(radians); 2601return VectorMath.RadiansToDegrees<Vector<float>, float>(radians); 2650public static Vector<double> Round(Vector<double> vector, MidpointRounding mode) => VectorMath.RoundDouble(vector, mode); 2654public static Vector<float> Round(Vector<float> vector, MidpointRounding mode) => VectorMath.RoundSingle(vector, mode); 2898return VectorMath.SinDouble<Vector<double>, Vector<long>>(vector); 2912return VectorMath.SinSingle<Vector<float>, Vector<int>, Vector<double>, Vector<long>>(vector); 2942return VectorMath.SinCosDouble<Vector<double>, Vector<long>>(vector); 2956return VectorMath.SinCosSingle<Vector<float>, Vector<int>, Vector<double>, Vector<long>>(vector);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (40)
734return VectorMath.CopySign<Vector128<T>, T>(value, sign); 815return VectorMath.CosDouble<Vector128<double>, Vector128<long>>(vector); 834return VectorMath.CosSingle<Vector128<float>, Vector128<int>, Vector256<double>, Vector256<long>>(vector); 838return VectorMath.CosSingle<Vector128<float>, Vector128<int>, Vector128<double>, Vector128<long>>(vector); 1540return VectorMath.DegreesToRadians<Vector128<double>, double>(degrees); 1558return VectorMath.DegreesToRadians<Vector128<float>, float>(degrees); 1641return VectorMath.ExpDouble<Vector128<double>, Vector128<ulong>>(vector); 1660return VectorMath.ExpSingle<Vector128<float>, Vector128<uint>, Vector256<double>, Vector256<ulong>>(vector); 1664return VectorMath.ExpSingle<Vector128<float>, Vector128<uint>, Vector128<double>, Vector128<ulong>>(vector); 1895return VectorMath.HypotDouble<Vector128<double>, Vector128<ulong>>(x, y); 1914return VectorMath.HypotSingle<Vector128<float>, Vector256<double>>(x, y); 1918return VectorMath.HypotSingle<Vector128<float>, Vector128<double>>(x, y); 1965return VectorMath.IsEvenIntegerSingle<Vector128<float>, Vector128<uint>>(vector.AsSingle()).As<float, T>(); 1969return VectorMath.IsEvenIntegerDouble<Vector128<double>, Vector128<ulong>>(vector.AsDouble()).As<double, T>(); 2092return VectorMath.IsOddIntegerSingle<Vector128<float>, Vector128<uint>>(vector.AsSingle()).As<float, T>(); 2096return VectorMath.IsOddIntegerDouble<Vector128<double>, Vector128<ulong>>(vector.AsDouble()).As<double, T>(); 2196return VectorMath.Lerp<Vector128<double>, double>(x, y, amount); 2214return VectorMath.Lerp<Vector128<float>, float>(x, y, amount); 2399return VectorMath.LogDouble<Vector128<double>, Vector128<long>, Vector128<ulong>>(vector); 2416return VectorMath.LogSingle<Vector128<float>, Vector128<int>, Vector128<uint>>(vector); 2433return VectorMath.Log2Double<Vector128<double>, Vector128<long>, Vector128<ulong>>(vector); 2450return VectorMath.Log2Single<Vector128<float>, Vector128<int>, Vector128<uint>>(vector); 2468return VectorMath.Max<Vector128<T>, T>(left, right); 2486return VectorMath.MaxMagnitude<Vector128<T>, T>(left, right); 2504return VectorMath.MaxMagnitudeNumber<Vector128<T>, T>(left, right); 2540return VectorMath.MaxNumber<Vector128<T>, T>(left, right); 2558return VectorMath.Min<Vector128<T>, T>(left, right); 2576return VectorMath.MinMagnitude<Vector128<T>, T>(left, right); 2594return VectorMath.MinMagnitudeNumber<Vector128<T>, T>(left, right); 2630return VectorMath.MinNumber<Vector128<T>, T>(left, right); 2934return VectorMath.RadiansToDegrees<Vector128<double>, double>(radians); 2952return VectorMath.RadiansToDegrees<Vector128<float>, float>(radians); 2999public static Vector128<double> Round(Vector128<double> vector, MidpointRounding mode) => VectorMath.RoundDouble(vector, mode); 3003public static Vector128<float> Round(Vector128<float> vector, MidpointRounding mode) => VectorMath.RoundSingle(vector, mode); 3794return VectorMath.SinDouble<Vector128<double>, Vector128<long>>(vector); 3813return VectorMath.SinSingle<Vector128<float>, Vector128<int>, Vector256<double>, Vector256<long>>(vector); 3817return VectorMath.SinSingle<Vector128<float>, Vector128<int>, Vector128<double>, Vector128<long>>(vector); 3835return VectorMath.SinCosDouble<Vector128<double>, Vector128<long>>(vector); 3857return VectorMath.SinCosSingle<Vector128<float>, Vector128<int>, Vector256<double>, Vector256<long>>(vector); 3861return VectorMath.SinCosSingle<Vector128<float>, Vector128<int>, Vector128<double>, Vector128<long>>(vector);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (40)
741return VectorMath.CopySign<Vector256<T>, T>(value, sign); 822return VectorMath.CosDouble<Vector256<double>, Vector256<long>>(vector); 841return VectorMath.CosSingle<Vector256<float>, Vector256<int>, Vector512<double>, Vector512<long>>(vector); 845return VectorMath.CosSingle<Vector256<float>, Vector256<int>, Vector256<double>, Vector256<long>>(vector); 1626return VectorMath.DegreesToRadians<Vector256<double>, double>(degrees); 1644return VectorMath.DegreesToRadians<Vector256<float>, float>(degrees); 1727return VectorMath.ExpDouble<Vector256<double>, Vector256<ulong>>(vector); 1746return VectorMath.ExpSingle<Vector256<float>, Vector256<uint>, Vector512<double>, Vector512<ulong>>(vector); 1750return VectorMath.ExpSingle<Vector256<float>, Vector256<uint>, Vector256<double>, Vector256<ulong>>(vector); 1979return VectorMath.HypotDouble<Vector256<double>, Vector256<ulong>>(x, y); 1998return VectorMath.HypotSingle<Vector256<float>, Vector512<double>>(x, y); 2002return VectorMath.HypotSingle<Vector256<float>, Vector256<double>>(x, y); 2049return VectorMath.IsEvenIntegerSingle<Vector256<float>, Vector256<uint>>(vector.AsSingle()).As<float, T>(); 2053return VectorMath.IsEvenIntegerDouble<Vector256<double>, Vector256<ulong>>(vector.AsDouble()).As<double, T>(); 2176return VectorMath.IsOddIntegerSingle<Vector256<float>, Vector256<uint>>(vector.AsSingle()).As<float, T>(); 2180return VectorMath.IsOddIntegerDouble<Vector256<double>, Vector256<ulong>>(vector.AsDouble()).As<double, T>(); 2280return VectorMath.Lerp<Vector256<double>, double>(x, y, amount); 2298return VectorMath.Lerp<Vector256<float>, float>(x, y, amount); 2483return VectorMath.LogDouble<Vector256<double>, Vector256<long>, Vector256<ulong>>(vector); 2500return VectorMath.LogSingle<Vector256<float>, Vector256<int>, Vector256<uint>>(vector); 2517return VectorMath.Log2Double<Vector256<double>, Vector256<long>, Vector256<ulong>>(vector); 2534return VectorMath.Log2Single<Vector256<float>, Vector256<int>, Vector256<uint>>(vector); 2552return VectorMath.Max<Vector256<T>, T>(left, right); 2570return VectorMath.MaxMagnitude<Vector256<T>, T>(left, right); 2588return VectorMath.MaxMagnitudeNumber<Vector256<T>, T>(left, right); 2624return VectorMath.MaxNumber<Vector256<T>, T>(left, right); 2642return VectorMath.Min<Vector256<T>, T>(left, right); 2660return VectorMath.MinMagnitude<Vector256<T>, T>(left, right); 2678return VectorMath.MinMagnitudeNumber<Vector256<T>, T>(left, right); 2714return VectorMath.MinNumber<Vector256<T>, T>(left, right); 2969return VectorMath.RadiansToDegrees<Vector256<double>, double>(radians); 2987return VectorMath.RadiansToDegrees<Vector256<float>, float>(radians); 3034public static Vector256<double> Round(Vector256<double> vector, MidpointRounding mode) => VectorMath.RoundDouble(vector, mode); 3038public static Vector256<float> Round(Vector256<float> vector, MidpointRounding mode) => VectorMath.RoundSingle(vector, mode); 3777return VectorMath.SinDouble<Vector256<double>, Vector256<long>>(vector); 3796return VectorMath.SinSingle<Vector256<float>, Vector256<int>, Vector512<double>, Vector512<long>>(vector); 3800return VectorMath.SinSingle<Vector256<float>, Vector256<int>, Vector256<double>, Vector256<long>>(vector); 3818return VectorMath.SinCosDouble<Vector256<double>, Vector256<long>>(vector); 3840return VectorMath.SinCosSingle<Vector256<float>, Vector256<int>, Vector512<double>, Vector512<long>>(vector); 3844return VectorMath.SinCosSingle<Vector256<float>, Vector256<int>, Vector256<double>, Vector256<long>>(vector);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (35)
654return VectorMath.CopySign<Vector512<T>, T>(value, sign); 732return VectorMath.CosDouble<Vector512<double>, Vector512<long>>(vector); 749return VectorMath.CosSingle<Vector512<float>, Vector512<int>, Vector512<double>, Vector512<long>>(vector); 1665return VectorMath.DegreesToRadians<Vector512<double>, double>(degrees); 1683return VectorMath.DegreesToRadians<Vector512<float>, float>(degrees); 1767return VectorMath.ExpDouble<Vector512<double>, Vector512<ulong>>(vector); 1784return VectorMath.ExpSingle<Vector512<float>, Vector512<uint>, Vector512<double>, Vector512<ulong>>(vector); 2012return VectorMath.HypotDouble<Vector512<double>, Vector512<ulong>>(x, y); 2029return VectorMath.HypotSingle<Vector512<float>, Vector512<double>>(x, y); 2075return VectorMath.IsEvenIntegerSingle<Vector512<float>, Vector512<uint>>(vector.AsSingle()).As<float, T>(); 2079return VectorMath.IsEvenIntegerDouble<Vector512<double>, Vector512<ulong>>(vector.AsDouble()).As<double, T>(); 2202return VectorMath.IsOddIntegerSingle<Vector512<float>, Vector512<uint>>(vector.AsSingle()).As<float, T>(); 2206return VectorMath.IsOddIntegerDouble<Vector512<double>, Vector512<ulong>>(vector.AsDouble()).As<double, T>(); 2306return VectorMath.Lerp<Vector512<double>, double>(x, y, amount); 2324return VectorMath.Lerp<Vector512<float>, float>(x, y, amount); 2509return VectorMath.LogDouble<Vector512<double>, Vector512<long>, Vector512<ulong>>(vector); 2526return VectorMath.LogSingle<Vector512<float>, Vector512<int>, Vector512<uint>>(vector); 2543return VectorMath.Log2Double<Vector512<double>, Vector512<long>, Vector512<ulong>>(vector); 2560return VectorMath.Log2Single<Vector512<float>, Vector512<int>, Vector512<uint>>(vector); 2578return VectorMath.Max<Vector512<T>, T>(left, right); 2596return VectorMath.MaxMagnitude<Vector512<T>, T>(left, right); 2614return VectorMath.MaxMagnitudeNumber<Vector512<T>, T>(left, right); 2650return VectorMath.MaxNumber<Vector512<T>, T>(left, right); 2668return VectorMath.Min<Vector512<T>, T>(left, right); 2686return VectorMath.MinMagnitude<Vector512<T>, T>(left, right); 2704return VectorMath.MinMagnitudeNumber<Vector512<T>, T>(left, right); 2740return VectorMath.MinNumber<Vector512<T>, T>(left, right); 2994return VectorMath.RadiansToDegrees<Vector512<double>, double>(radians); 3012return VectorMath.RadiansToDegrees<Vector512<float>, float>(radians); 3059public static Vector512<double> Round(Vector512<double> vector, MidpointRounding mode) => VectorMath.RoundDouble(vector, mode); 3063public static Vector512<float> Round(Vector512<float> vector, MidpointRounding mode) => VectorMath.RoundSingle(vector, mode); 3802return VectorMath.SinDouble<Vector512<double>, Vector512<long>>(vector); 3819return VectorMath.SinSingle<Vector512<float>, Vector512<int>, Vector512<double>, Vector512<long>>(vector); 3836return VectorMath.SinCosDouble<Vector512<double>, Vector512<long>>(vector); 3856return VectorMath.SinCosSingle<Vector512<float>, Vector512<int>, Vector512<double>, Vector512<long>>(vector);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (40)
686return VectorMath.CopySign<Vector64<T>, T>(value, sign); 788return VectorMath.CosDouble<Vector64<double>, Vector64<long>>(vector); 806return VectorMath.CosSingle<Vector64<float>, Vector64<int>, Vector128<double>, Vector128<long>>(vector); 810return VectorMath.CosSingle<Vector64<float>, Vector64<int>, Vector64<double>, Vector64<long>>(vector); 1369return VectorMath.DegreesToRadians<Vector64<double>, double>(degrees); 1386return VectorMath.DegreesToRadians<Vector64<float>, float>(degrees); 1493return VectorMath.ExpDouble<Vector64<double>, Vector64<ulong>>(vector); 1511return VectorMath.ExpSingle<Vector64<float>, Vector64<uint>, Vector128<double>, Vector128<ulong>>(vector); 1515return VectorMath.ExpSingle<Vector64<float>, Vector64<uint>, Vector64<double>, Vector64<ulong>>(vector); 1809return VectorMath.HypotDouble<Vector64<double>, Vector64<ulong>>(x, y); 1828return VectorMath.HypotSingle<Vector64<float>, Vector128<double>>(x, y); 1832return VectorMath.HypotSingle<Vector64<float>, Vector64<double>>(x, y); 1885return VectorMath.IsEvenIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 1889return VectorMath.IsEvenIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 2012return VectorMath.IsOddIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 2016return VectorMath.IsOddIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 2143return VectorMath.Lerp<Vector64<double>, double>(x, y, amount); 2162return VectorMath.Lerp<Vector64<float>, float>(x, y, amount); 2387return VectorMath.LogDouble<Vector64<double>, Vector64<long>, Vector64<ulong>>(vector); 2403return VectorMath.LogSingle<Vector64<float>, Vector64<int>, Vector64<uint>>(vector); 2433return VectorMath.Log2Double<Vector64<double>, Vector64<long>, Vector64<ulong>>(vector); 2449return VectorMath.Log2Single<Vector64<float>, Vector64<int>, Vector64<uint>>(vector); 2464return VectorMath.Max<Vector64<T>, T>(left, right); 2487return VectorMath.MaxMagnitude<Vector64<T>, T>(left, right); 2510return VectorMath.MaxMagnitudeNumber<Vector64<T>, T>(left, right); 2556return VectorMath.MaxNumber<Vector64<T>, T>(left, right); 2579return VectorMath.Min<Vector64<T>, T>(left, right); 2602return VectorMath.MinMagnitude<Vector64<T>, T>(left, right); 2625return VectorMath.MinMagnitudeNumber<Vector64<T>, T>(left, right); 2671return VectorMath.MinNumber<Vector64<T>, T>(left, right); 2987return VectorMath.RadiansToDegrees<Vector64<double>, double>(radians); 3004return VectorMath.RadiansToDegrees<Vector64<float>, float>(radians); 3056public static Vector64<double> Round(Vector64<double> vector, MidpointRounding mode) => VectorMath.RoundDouble(vector, mode); 3063public static Vector64<float> Round(Vector64<float> vector, MidpointRounding mode) => VectorMath.RoundSingle(vector, mode); 3679return VectorMath.SinDouble<Vector64<double>, Vector64<long>>(vector); 3697return VectorMath.SinSingle<Vector64<float>, Vector64<int>, Vector128<double>, Vector128<long>>(vector); 3701return VectorMath.SinSingle<Vector64<float>, Vector64<int>, Vector64<double>, Vector64<long>>(vector); 3734return VectorMath.SinCosDouble<Vector64<double>, Vector64<long>>(vector); 3752return VectorMath.SinCosSingle<Vector64<float>, Vector64<int>, Vector128<double>, Vector128<long>>(vector); 3756return VectorMath.SinCosSingle<Vector64<float>, Vector64<int>, Vector64<double>, Vector64<long>>(vector);