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