25 references to Create
System.Private.CoreLib (25)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (16)
86public static bool All<T>(Vector<T> vector, T value) => vector == Create(value); 118public static bool Any<T>(Vector<T> vector, T value) => EqualsAny(vector, Create(value)); 805public static Vector<T> CreateSequence<T>(T start, T step) => (Vector<T>.Indices * step) + Create(start); 1412return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.As<T, uint>())).As<uint, T>(); 1416return ~IsZero(AndNot(Create<ulong>(double.PositiveInfinityBits), vector.As<T, ulong>())).As<ulong, T>(); 1491return Equals(vector, Create(float.NegativeInfinity).As<float, T>()); 1495return Equals(vector, Create(double.NegativeInfinity).As<double, T>()); 1507return LessThan(Abs(vector).As<T, uint>() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 1511return LessThan(Abs(vector).As<T, ulong>() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 1566return Equals(vector, Create(float.PositiveInfinity).As<float, T>()); 1570return Equals(vector, Create(double.PositiveInfinity).As<double, T>()); 1582return LessThan(Abs(vector).As<T, uint>() - Vector<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 1586return LessThan(Abs(vector).As<T, ulong>() - Vector<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2465public static bool None<T>(Vector<T> vector, T value) => !EqualsAny(vector, Create(value));
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (7)
43this = Vector.Create(value); 132get => Vector.Create(Scalar<T>.AllBitsSet); 192get => Vector.Create(Scalar<T>.One); 503public static Vector<T> operator *(Vector<T> value, T factor) => value * Vector.Create(factor); 580return value ^ Vector.Create(-0.0f).As<float, T>(); 584return value ^ Vector.Create(-0.0).As<double, T>(); 908static Vector<T> ISimdVector<Vector<T>, T>.Create(T value) => Vector.Create(value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (2)
2521result = (TVector)(object)Vector.Create(value); 2555result = (TVector)(object)Vector.Create(value);