Table of Contents

Method Widen

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Widen(Vector128<float>, out Vector128<double>, out Vector128<double>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<float> source, out Vector128<double> lower, out Vector128<double> upper)

Parameters

source Vector128<float>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<double>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<double>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<sbyte>, out Vector128<short>, out Vector128<short>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<sbyte> source, out Vector128<short> lower, out Vector128<short> upper)

Parameters

source Vector128<sbyte>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<short>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<short>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<byte>, out Vector128<ushort>, out Vector128<ushort>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<byte> source, out Vector128<ushort> lower, out Vector128<ushort> upper)

Parameters

source Vector128<byte>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<ushort>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<ushort>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<short>, out Vector128<int>, out Vector128<int>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<short> source, out Vector128<int> lower, out Vector128<int> upper)

Parameters

source Vector128<short>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<int>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<int>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<ushort>, out Vector128<uint>, out Vector128<uint>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<ushort> source, out Vector128<uint> lower, out Vector128<uint> upper)

Parameters

source Vector128<ushort>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<uint>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<uint>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<int>, out Vector128<long>, out Vector128<long>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<int> source, out Vector128<long> lower, out Vector128<long> upper)

Parameters

source Vector128<int>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<long>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<long>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also

Widen(Vector128<uint>, out Vector128<ulong>, out Vector128<ulong>)

Widens a Vector128<T> into two Vector128<T> instances (将一个 Vector128<T> 扩宽为两个 Vector128<T> 实例). Mnemonic: element_ref(i, lower, upper) := widen(source[i]).

void Widen(Vector128<uint> source, out Vector128<ulong> lower, out Vector128<ulong> upper)

Parameters

source Vector128<uint>

The vector whose elements are to be widened (要扩宽其元素的向量).

lower Vector128<ulong>

When this method returns, contains the widened elements from lower indices in the source vector (当此方法返回时,包含源向量中来自较低下标的扩宽元素).

upper Vector128<ulong>

When this method returns, contains the widened elements from upper indices in the source vector (当此方法返回时,包含源向量中来自较高下标的扩宽元素).

See Also