5 implementations of WithElement
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
1223
static Vector<T> ISimdVector<Vector<T>, T>.
WithElement
(Vector<T> vector, int index, T value) => vector.WithElement(index, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
875
static Vector128<T> ISimdVector<Vector128<T>, T>.
WithElement
(Vector128<T> vector, int index, T value) => vector.WithElement(index, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
863
static Vector256<T> ISimdVector<Vector256<T>, T>.
WithElement
(Vector256<T> vector, int index, T value) => vector.WithElement(index, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
863
static Vector512<T> ISimdVector<Vector512<T>, T>.
WithElement
(Vector512<T> vector, int index, T value) => vector.WithElement(index, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
932
static Vector64<T> ISimdVector<Vector64<T>, T>.
WithElement
(Vector64<T> vector, int index, T value) => vector.WithElement(index, value);
8 references to WithElement
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
1221
/// <inheritdoc cref="ISimdVector{TSelf, T}.
WithElement
(TSelf, int, T)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (2)
264
static virtual TSelf CreateScalar(T value) => TSelf.
WithElement
(TSelf.Zero, 0, value);
276
return TSelf.
WithElement
(result, 0, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\SimdVectorExtensions.cs (1)
166
return TVector.
WithElement
(vector, index, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
873
/// <inheritdoc cref="ISimdVector{TSelf, T}.
WithElement
(TSelf, int, T)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
861
/// <inheritdoc cref="ISimdVector{TSelf, T}.
WithElement
(TSelf, int, T)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
861
/// <inheritdoc cref="ISimdVector{TSelf, T}.
WithElement
(TSelf, int, T)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
930
/// <inheritdoc cref="ISimdVector{TSelf, T}.
WithElement
(TSelf, int, T)" />