Vector128.WidenUpper Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

WidenUpper(Vector128<UInt32>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<UInt16>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<Single>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<Byte>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<Int32>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<Int16>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<SByte>)

Widens the upper half of a Vector128<T> into a Vector128<T>.

WidenUpper(Vector128<UInt32>)

Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> WidenUpper(System.Runtime.Intrinsics.Vector128<uint> source);

Parameters

source
Vector128<UInt32>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<UInt16>)

Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> WidenUpper(System.Runtime.Intrinsics.Vector128<ushort> source);

Parameters

source
Vector128<UInt16>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<Single>)

Source:
Vector128.cs
Source:
Vector128.cs

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<double> WidenUpper(System.Runtime.Intrinsics.Vector128<float> source);

Parameters

source
Vector128<Single>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<Byte>)

Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> WidenUpper(System.Runtime.Intrinsics.Vector128<byte> source);

Parameters

source
Vector128<Byte>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<Int32>)

Source:
Vector128.cs
Source:
Vector128.cs

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<long> WidenUpper(System.Runtime.Intrinsics.Vector128<int> source);

Parameters

source
Vector128<Int32>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<Int16>)

Source:
Vector128.cs
Source:
Vector128.cs

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<int> WidenUpper(System.Runtime.Intrinsics.Vector128<short> source);

Parameters

source
Vector128<Int16>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

WidenUpper(Vector128<SByte>)

Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Widens the upper half of a Vector128<T> into a Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<short> WidenUpper(System.Runtime.Intrinsics.Vector128<sbyte> source);

Parameters

source
Vector128<SByte>

The vector whose elements are to be widened.

Returns

A vector that contains the widened upper half of source.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10