Table of Contents

Method Widen

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

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

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

public override void Widen(Vector<float> source, out Vector<double> lower, out Vector<double> upper)

Parameters

source Vector<float>

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

lower Vector<double>

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

upper Vector<double>

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

See Also

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

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

[CLSCompliant(false)]
public override void Widen(Vector<sbyte> source, out Vector<short> lower, out Vector<short> upper)

Parameters

source Vector<sbyte>

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

lower Vector<short>

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

upper Vector<short>

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

See Also

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

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

[CLSCompliant(false)]
public override void Widen(Vector<byte> source, out Vector<ushort> lower, out Vector<ushort> upper)

Parameters

source Vector<byte>

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

lower Vector<ushort>

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

upper Vector<ushort>

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

See Also

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

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

public override void Widen(Vector<short> source, out Vector<int> lower, out Vector<int> upper)

Parameters

source Vector<short>

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

lower Vector<int>

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

upper Vector<int>

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

See Also

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

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

[CLSCompliant(false)]
public override void Widen(Vector<ushort> source, out Vector<uint> lower, out Vector<uint> upper)

Parameters

source Vector<ushort>

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

lower Vector<uint>

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

upper Vector<uint>

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

See Also

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

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

public override void Widen(Vector<int> source, out Vector<long> lower, out Vector<long> upper)

Parameters

source Vector<int>

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

lower Vector<long>

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

upper Vector<long>

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

See Also

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

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

[CLSCompliant(false)]
public override void Widen(Vector<uint> source, out Vector<ulong> lower, out Vector<ulong> upper)

Parameters

source Vector<uint>

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

lower Vector<ulong>

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

upper Vector<ulong>

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

See Also