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