Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,7 @@ public static Vector128<T> Create<T>(T[] values)
/// <returns>A new <see cref="Vector128{T}" /> with its elements set to the first <see cref="Vector128{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="NullReferenceException"><paramref name="values" /> is <c>null</c>.</exception>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector128{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector128<T> Create<T>(T[] values, int index)
where T : struct
{
Expand All @@ -1131,6 +1132,7 @@ public static Vector128<T> Create<T>(T[] values, int index)
/// <param name="values">The readonly span from which the vector is created.</param>
/// <returns>A new <see cref="Vector128{T}" /> with its elements set to the first <see cref="Vector128{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector128{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector128<T> Create<T>(ReadOnlySpan<T> values)
where T : struct
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,7 @@ public static Vector256<T> Create<T>(T[] values)
/// <returns>A new <see cref="Vector256{T}" /> with its elements set to the first <see cref="Vector128{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="NullReferenceException"><paramref name="values" /> is <c>null</c>.</exception>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector256{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector256<T> Create<T>(T[] values, int index)
where T : struct
{
Expand All @@ -1145,6 +1146,7 @@ public static Vector256<T> Create<T>(T[] values, int index)
/// <param name="values">The readonly span from which the vector is created.</param>
/// <returns>A new <see cref="Vector256{T}" /> with its elements set to the first <see cref="Vector256{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector256{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector256<T> Create<T>(ReadOnlySpan<T> values)
where T : struct
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ public static Vector64<T> Create<T>(T[] values)
/// <returns>A new <see cref="Vector64{T}" /> with its elements set to the first <see cref="Vector128{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="NullReferenceException"><paramref name="values" /> is <c>null</c>.</exception>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector64{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector64<T> Create<T>(T[] values, int index)
where T : struct
{
Expand All @@ -880,6 +881,7 @@ public static Vector64<T> Create<T>(T[] values, int index)
/// <param name="values">The readonly span from which the vector is created.</param>
/// <returns>A new <see cref="Vector64{T}" /> with its elements set to the first <see cref="Vector64{T}.Count" /> elements from <paramref name="values" />.</returns>
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.Count" />.</exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector64<T> Create<T>(ReadOnlySpan<T> values)
where T : struct
{
Expand Down