Method Narrow
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
Narrow(Vector<double>, Vector<double>)
Narrows two Vector<T> instances into one Vector<T>" (将两个 Vector<T> 实例缩窄为一个 Vector<T> ). />.
Mnemonic: rt[i] := narrow(element_ref(i, lower, upper))
.
public static Vector<float> Narrow(Vector<double> lower, Vector<double> upper)
Parameters
lower
Vector<double>The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).
upper
Vector<double>The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).
Returns
- Vector<float>
A Vector<T> containing elements narrowed from
lower
andupper
(一个包含了来自lower
与upper
缩窄元素的向量).
- See Also