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