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