99 references to Create
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (6)
515Vector512<T> vresult = Vector512.Create(TAggregationOperator.IdentityValue); 619beg = Vector512.ConditionalSelect(CreateAlignmentMaskVector512<T>((int)misalignment), beg, Vector512.Create(TAggregationOperator.IdentityValue)); 686end = Vector512.ConditionalSelect(CreateRemainderMaskVector512<T>((int)trailing), end, Vector512.Create(TAggregationOperator.IdentityValue)); 1686Vector512<T> vresult = Vector512.Create(TAggregationOperator.IdentityValue); 1808beg = Vector512.ConditionalSelect(CreateAlignmentMaskVector512<T>((int)misalignment), beg, Vector512.Create(TAggregationOperator.IdentityValue)); 1882end = Vector512.ConditionalSelect(CreateRemainderMaskVector512<T>((int)trailing), end, Vector512.Create(TAggregationOperator.IdentityValue));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (1)
1968Vector512<T> yVec = Vector512.Create(y);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (3)
2161Vector512<T> zVec = Vector512.Create(z); 3637Vector512<T> yVec = Vector512.Create(y); 3638Vector512<T> zVec = Vector512.Create(z);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (5)
230Vector512.Create(TOperator.RemainderMaskValue), 234Vector512.Create(TOperator.RemainderMaskValue), 392Vector512<T> yVec = Vector512.Create(y); 413Vector512.Create(TOperator.RemainderMaskValue), 417Vector512.Create(TOperator.RemainderMaskValue),
System\Numerics\Tensors\netcore\TensorPrimitives.AcosPi.cs (1)
36public static Vector512<T> Invoke(Vector512<T> x) => AcosOperator<T>.Invoke(x) / Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.AsinPi.cs (1)
36public static Vector512<T> Invoke(Vector512<T> x) => AsinOperator<T>.Invoke(x) / Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.Atan2Pi.cs (1)
77public static Vector512<T> Invoke(Vector512<T> y, Vector512<T> x) => Atan2Operator<T>.Invoke(y, x) / Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.AtanPi.cs (1)
36public static Vector512<T> Invoke(Vector512<T> x) => AtanOperator<T>.Invoke(x) / Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
96Vector512<T> xpi = x * Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10.cs (1)
46public static Vector512<T> Invoke(Vector512<T> x) => ExpOperator<T>.Invoke(x * Vector512.Create(T.CreateTruncating(NaturalLog10)));
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2.cs (1)
46public static Vector512<T> Invoke(Vector512<T> x) => ExpOperator<T>.Invoke(x * Vector512.Create(T.CreateTruncating(NaturalLog2)));
System\Numerics\Tensors\netcore\TensorPrimitives.Log10.cs (1)
50public static Vector512<T> Invoke(Vector512<T> x) => LogOperator<T>.Invoke(x) / Vector512.Create(T.CreateTruncating(NaturalLog10));
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
350Vector512<T> limit = Vector512.Create(typeof(T) == typeof(float) ? T.CreateTruncating(Single_RoundLimit) : T.CreateTruncating(Double_RoundLimit));
System\Numerics\Tensors\netcore\TensorPrimitives.ScaleB.cs (1)
36public Vector512<T> Invoke(Vector512<T> x) => x * Vector512.Create(_pow2n);
System\Numerics\Tensors\netcore\TensorPrimitives.Sigmoid.cs (2)
48public static Vector512<T> Invoke(Vector512<T> x) => Vector512.Create(T.One) / (Vector512.Create(T.One) + ExpOperator<T>.Invoke(-x));
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
96Vector512<T> xpi = x * Vector512.Create(T.Pi);
System\Numerics\Tensors\netcore\TensorPrimitives.StdDev.cs (1)
63Vector512<T> diff = x - Vector512.Create(_subtrahend);
System.Private.CoreLib (70)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (27)
105public static bool All<T>(Vector512<T> vector, T value) => vector == Create(value); 139public static bool Any<T>(Vector512<T> vector, T value) => EqualsAny(vector, Create(value)); 689public static int Count<T>(Vector512<T> vector, T value) => BitOperations.PopCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 727public static Vector512<byte> Create(byte value) => Create<byte>(value); 734public static Vector512<double> Create(double value) => Create<double>(value); 741public static Vector512<short> Create(short value) => Create<short>(value); 748public static Vector512<int> Create(int value) => Create<int>(value); 755public static Vector512<long> Create(long value) => Create<long>(value); 761public static Vector512<nint> Create(nint value) => Create<nint>(value); 768public static Vector512<nuint> Create(nuint value) => Create<nuint>(value); 776public static Vector512<sbyte> Create(sbyte value) => Create<sbyte>(value); 783public static Vector512<float> Create(float value) => Create<float>(value); 791public static Vector512<ushort> Create(ushort value) => Create<ushort>(value); 799public static Vector512<uint> Create(uint value) => Create<uint>(value); 807public static Vector512<ulong> Create(ulong value) => Create<ulong>(value); 1582public static Vector512<T> CreateSequence<T>(T start, T step) => (Vector512<T>.Indices * step) + Create(start); 1971int result = BitOperations.TrailingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 2017return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 2021return ~IsZero(AndNot(Create<ulong>(double.PositiveInfinityBits), vector.AsUInt64())).As<ulong, T>(); 2112return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2116return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 2187return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2191return LessThan(Abs(vector).AsUInt64() - Vector512<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2204public static int LastIndexOf<T>(Vector512<T> vector, T value) => 63 - BitOperations.LeadingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 2884public static bool None<T>(Vector512<T> vector, T value) => !EqualsAny(vector, Create(value));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (3)
41get => Vector512.Create(Scalar<T>.AllBitsSet); 104get => Vector512.Create(Scalar<T>.One); 548static Vector512<T> ISimdVector<Vector512<T>, T>.Create(T value) => Vector512.Create(value);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (37)
1370Vector512<T> current, values = Vector512.Create(value); 1561Vector512<TValue> current, values = Vector512.Create(value); 1786Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1); 1993Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), values2 = Vector512.Create(value2); 2149Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), values2 = Vector512.Create(value2), values3 = Vector512.Create(value3); 2312Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), 2313values2 = Vector512.Create(value2), values3 = Vector512.Create(value3), values4 = Vector512.Create(value4); 2633Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1); 2818Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), values2 = Vector512.Create(value2); 2968Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), values2 = Vector512.Create(value2), values3 = Vector512.Create(value3); 3154Vector512<T> oldValues = Vector512.Create(oldValue); 3155Vector512<T> newValues = Vector512.Create(newValue); 3226Vector512<TValue> equals, current, values0 = Vector512.Create(value0), values1 = Vector512.Create(value1), 3227values2 = Vector512.Create(value2), values3 = Vector512.Create(value3), values4 = Vector512.Create(value4); 3573Vector512<T> lowVector = Vector512.Create(lowInclusive); 3574Vector512<T> rangeVector = Vector512.Create(highInclusive - lowInclusive); 3716Vector512<T> lowVector = Vector512.Create(lowInclusive); 3717Vector512<T> rangeVector = Vector512.Create(highInclusive - lowInclusive); 3787Vector512<T> targetVector = Vector512.Create(value);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (3)
245Vector512<TRight> loweringMask = Vector512.Create(TRight.CreateTruncating(0x20)); 246Vector512<TRight> vecA = Vector512.Create(TRight.CreateTruncating('a')); 247Vector512<TRight> vecZMinusA = Vector512.Create(TRight.CreateTruncating(('z' - 'a')));