11 references to WithElement
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (1)
79this = this.AsVector128().WithElement(index, value).AsQuaternion();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (1)
112return vector.AsVector128Unsafe().WithElement(index, value).AsVector2();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
423.WithElement(2, z)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (1)
107return vector.AsVector128Unsafe().WithElement(index, value).AsVector3();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (4)
456.WithElement(2, z) 457.WithElement(3, w) 470.WithElement(3, w) 537-m2.WithElement(3, 0)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.Extensions.cs (2)
81/// <inheritdoc cref="Vector128.WithElement{T}(Vector128{T}, int, T)" /> 83public static Vector4 WithElement(this Vector4 vector, int index, float value) => vector.AsVector128().WithElement(index, value).AsVector4();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
875static Vector128<T> ISimdVector<Vector128<T>, T>.WithElement(Vector128<T> vector, int index, T value) => vector.WithElement(index, value);