26 references to Create
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (19)
34get => Create(T.E); 41get => Create(T.Pi); 48get => Create(T.Tau); 60get => Create(T.Epsilon); 67get => Create(T.NaN); 74get => Create(T.NegativeInfinity); 81get => Create(T.NegativeZero); 88get => Create(T.PositiveInfinity); 100get => Create(T.NegativeOne); 164public static bool All<T>(Vector<T> vector, T value) => vector == Create(value); 196public static bool Any<T>(Vector<T> vector, T value) => EqualsAny(vector, Create(value)); 879public static Vector<T> CreateSequence<T>(T start, T step) => (Vector<T>.Indices * step) + Create(start); 1581return LessThan(Abs(vector).As<T, uint>() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 1585return LessThan(Abs(vector).As<T, ulong>() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 1656return LessThan(Abs(vector).As<T, uint>() - Vector<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 1660return LessThan(Abs(vector).As<T, ulong>() - Vector<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2539public static bool None<T>(Vector<T> vector, T value) => !EqualsAny(vector, Create(value));
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (5)
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); 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)
2522result = (TVector)(object)Vector.Create(value); 2556result = (TVector)(object)Vector.Create(value);