Vector.Widen Method

Definition

Overloads

Widen(Vector<Byte>, Vector<UInt16>, Vector<UInt16>)

Widens a Vector<Byte> into two Vector<UInt16> instances.

Widen(Vector<Int16>, Vector<Int32>, Vector<Int32>)

Widens a Vector<Int16> into two Vector<Int32> instances.

Widen(Vector<Int32>, Vector<Int64>, Vector<Int64>)

Widens a Vector<Int32> into two Vector<Int64> instances.

Widen(Vector<SByte>, Vector<Int16>, Vector<Int16>)

Widens a Vector<SByte> into two Vector<Int16> instances.

Widen(Vector<Single>, Vector<Double>, Vector<Double>)

Widens a Vector<Single> into two Vector<Double> instances.

Widen(Vector<UInt16>, Vector<UInt32>, Vector<UInt32>)

Widens a Vector<UInt16> into two Vector<UInt32> instances.

Widen(Vector<UInt32>, Vector<UInt64>, Vector<UInt64>)

Widens a Vector<UInt32> into two Vector<UInt64> instances.

Widen(Vector<Byte>, Vector<UInt16>, Vector<UInt16>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Widens a Vector<Byte> into two Vector<UInt16> instances.

C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<byte> source, out System.Numerics.Vector<ushort> low, out System.Numerics.Vector<ushort> high);
C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<byte> source, out System.Numerics.Vector<ushort> dest1, out System.Numerics.Vector<ushort> dest2);

Parameters

source
Vector<Byte>

The source vector whose elements are widened into the outputs.

dest1low
Vector<UInt16>

When this method returns, contains the widened elements from lower indices in the source vector.

dest2high
Vector<UInt16>

>When this method returns, contains the widened elements from higher indices in the source vector.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<Int16>, Vector<Int32>, Vector<Int32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Widens a Vector<Int16> into two Vector<Int32> instances.

C#
public static void Widen(System.Numerics.Vector<short> source, out System.Numerics.Vector<int> low, out System.Numerics.Vector<int> high);
C#
public static void Widen(System.Numerics.Vector<short> source, out System.Numerics.Vector<int> dest1, out System.Numerics.Vector<int> dest2);

Parameters

source
Vector<Int16>

The source vector whose elements are widened into the outputs.

dest1low
Vector<Int32>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<Int32>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<Int32>, Vector<Int64>, Vector<Int64>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Widens a Vector<Int32> into two Vector<Int64> instances.

C#
public static void Widen(System.Numerics.Vector<int> source, out System.Numerics.Vector<long> low, out System.Numerics.Vector<long> high);
C#
public static void Widen(System.Numerics.Vector<int> source, out System.Numerics.Vector<long> dest1, out System.Numerics.Vector<long> dest2);

Parameters

source
Vector<Int32>

The source vector whose elements are widened into the outputs.

dest1low
Vector<Int64>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<Int64>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<SByte>, Vector<Int16>, Vector<Int16>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Widens a Vector<SByte> into two Vector<Int16> instances.

C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<sbyte> source, out System.Numerics.Vector<short> low, out System.Numerics.Vector<short> high);
C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<sbyte> source, out System.Numerics.Vector<short> dest1, out System.Numerics.Vector<short> dest2);

Parameters

source
Vector<SByte>

The source vector whose elements are widened into the outputs.

dest1low
Vector<Int16>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<Int16>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<Single>, Vector<Double>, Vector<Double>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Widens a Vector<Single> into two Vector<Double> instances.

C#
public static void Widen(System.Numerics.Vector<float> source, out System.Numerics.Vector<double> low, out System.Numerics.Vector<double> high);
C#
public static void Widen(System.Numerics.Vector<float> source, out System.Numerics.Vector<double> dest1, out System.Numerics.Vector<double> dest2);

Parameters

source
Vector<Single>

The source vector whose elements are widened into the outputs.

dest1low
Vector<Double>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<Double>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<UInt16>, Vector<UInt32>, Vector<UInt32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Widens a Vector<UInt16> into two Vector<UInt32> instances.

C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<ushort> source, out System.Numerics.Vector<uint> low, out System.Numerics.Vector<uint> high);
C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<ushort> source, out System.Numerics.Vector<uint> dest1, out System.Numerics.Vector<uint> dest2);

Parameters

source
Vector<UInt16>

The source vector whose elements are widened into the outputs.

dest1low
Vector<UInt32>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<UInt32>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

Widen(Vector<UInt32>, Vector<UInt64>, Vector<UInt64>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Widens a Vector<UInt32> into two Vector<UInt64> instances.

C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<uint> source, out System.Numerics.Vector<ulong> low, out System.Numerics.Vector<ulong> high);
C#
[System.CLSCompliant(false)]
public static void Widen(System.Numerics.Vector<uint> source, out System.Numerics.Vector<ulong> dest1, out System.Numerics.Vector<ulong> dest2);

Parameters

source
Vector<UInt32>

The source vector whose elements are widened into the outputs.

dest1low
Vector<UInt64>

The first output vector, whose elements will contain the widened elements from lower indices in the source vector.

dest2high
Vector<UInt64>

The second output vector, whose elements will contain the widened elements from higher indices in the source vector.

Attributes

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1