26 references to Create
Microsoft.ML.CpuMath (2)
SseIntrinsics.cs (2)
76=> Vector128.Create(src[idx[0]], src[idx[1]], src[idx[2]], src[idx[3]]); 241Vector128<float> x1 = Vector128.Create(pm0[col], pm1[col], pm2[col], pm3[col]);
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.FloatHelpers.cs (3)
11Vector128.Create(TOperator.Invoke(floats[0]), TOperator.Invoke(floats[1]), TOperator.Invoke(floats[2]), TOperator.Invoke(floats[3])); 37Vector128.Create(firstRes0, firstRes1, firstRes2, firstRes3), 38Vector128.Create(secondRes0, secondRes1, secondRes2, secondRes3)
System.Private.CoreLib (21)
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
58internal static Plane Create(float x, float y, float z, float d) => Vector128.Create(x, y, z, d).AsPlane();
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (5)
136result = Vector128.MultiplyAddEstimate(Vector128.Shuffle(right, Vector128.Create(3, 2, 1, 0)) * left.GetElement(0), Vector128.Create(+1.0f, -1.0f, +1.0f, -1.0f), result); 137result = Vector128.MultiplyAddEstimate(Vector128.Shuffle(right, Vector128.Create(2, 3, 0, 1)) * left.GetElement(1), Vector128.Create(+1.0f, +1.0f, -1.0f, -1.0f), result); 138result = Vector128.MultiplyAddEstimate(Vector128.Shuffle(right, Vector128.Create(1, 0, 3, 2)) * left.GetElement(2), Vector128.Create(-1.0f, +1.0f, +1.0f, -1.0f), result); 191return (value.AsVector128() * Vector128.Create(-1.0f, -1.0f, -1.0f, 1.0f)).AsQuaternion(); 201internal static Quaternion Create(float x, float y, float z, float w) => Vector128.Create(x, y, z, w).AsQuaternion();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
398public static Vector2 Create(float x, float y) => Vector128.Create(x, y, 0, 0).AsVector2();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
433public static Vector3 Create(float x, float y, float z) => Vector128.Create(x, y, z, 0).AsVector3();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
481public static Vector4 Create(float x, float y, float z, float w) => Vector128.Create(x, y, z, w).AsVector4();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.Numerics.cs (10)
35internal static bool Any(Vector2 vector, float value) => EqualsAny(vector.AsVector128(), Create(value, value, -1, -1)); 40internal static bool Any(Vector3 vector, float value) => EqualsAny(vector.AsVector128(), Create(value, value, value, -1)); 228internal static int Count(Vector2 vector, float value) => BitOperations.PopCount(Equals(vector.AsVector128(), Create(value, value, -1, -1)).ExtractMostSignificantBits()); 233internal static int Count(Vector3 vector, float value) => BitOperations.PopCount(Equals(vector.AsVector128(), Create(value, value, value, -1)).ExtractMostSignificantBits()); 250int result = BitOperations.TrailingZeroCount(Equals(vector.AsVector128(), Create(value, value, -1, -1)).ExtractMostSignificantBits()); 259int result = BitOperations.TrailingZeroCount(Equals(vector.AsVector128(), Create(value, value, value, -1)).ExtractMostSignificantBits()); 284internal static int LastIndexOf(Vector2 vector, float value) => 31 - BitOperations.LeadingZeroCount(Equals(vector.AsVector128(), Create(value, value, -1, -1)).ExtractMostSignificantBits()); 289internal static int LastIndexOf(Vector3 vector, float value) => 31 - BitOperations.LeadingZeroCount(Equals(vector.AsVector128(), Create(value, value, value, -1)).ExtractMostSignificantBits()); 304internal static bool None(Vector2 vector, float value) => !EqualsAny(vector.AsVector128(), Create(value, value, -1, -1)); 309internal static bool None(Vector3 vector, float value) => !EqualsAny(vector.AsVector128(), Create(value, value, value, -1));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1145Vector128.Create(e0, e1, e2, e3), 1146Vector128.Create(e4, e5, e6, e7)