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