Table of Contents

Method Narrow_Basic

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

Narrow_Basic(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_Basic(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 and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<short>, Vector<short>)

Narrows two Vector<T> instances into one Vector<T>" (将两个 Vector<T> 实例缩窄为一个 Vector<T> ). />. Mnemonic: rt[i] := narrow(element_ref(i, lower, upper)).

[CLSCompliant(false)]
public static Vector<sbyte> Narrow_Basic(Vector<short> lower, Vector<short> upper)

Parameters

lower Vector<short>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<short>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<sbyte>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<ushort>, Vector<ushort>)

Narrows two Vector<T> instances into one Vector<T>" (将两个 Vector<T> 实例缩窄为一个 Vector<T> ). />. Mnemonic: rt[i] := narrow(element_ref(i, lower, upper)).

[CLSCompliant(false)]
public static Vector<byte> Narrow_Basic(Vector<ushort> lower, Vector<ushort> upper)

Parameters

lower Vector<ushort>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<ushort>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<byte>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<int>, Vector<int>)

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<short> Narrow_Basic(Vector<int> lower, Vector<int> upper)

Parameters

lower Vector<int>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<int>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<short>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<uint>, Vector<uint>)

Narrows two Vector<T> instances into one Vector<T>" (将两个 Vector<T> 实例缩窄为一个 Vector<T> ). />. Mnemonic: rt[i] := narrow(element_ref(i, lower, upper)).

[CLSCompliant(false)]
public static Vector<ushort> Narrow_Basic(Vector<uint> lower, Vector<uint> upper)

Parameters

lower Vector<uint>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<uint>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<ushort>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<long>, Vector<long>)

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<int> Narrow_Basic(Vector<long> lower, Vector<long> upper)

Parameters

lower Vector<long>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<long>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<int>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also

Narrow_Basic(Vector<ulong>, Vector<ulong>)

Narrows two Vector<T> instances into one Vector<T>" (将两个 Vector<T> 实例缩窄为一个 Vector<T> ). />. Mnemonic: rt[i] := narrow(element_ref(i, lower, upper)).

[CLSCompliant(false)]
public static Vector<uint> Narrow_Basic(Vector<ulong> lower, Vector<ulong> upper)

Parameters

lower Vector<ulong>

The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).

upper Vector<ulong>

The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).

Returns

Vector<uint>

A Vector<T> containing elements narrowed from lower and upper (一个包含了来自 lowerupper 缩窄元素的向量).

See Also