Table of Contents

Method GreaterThan

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

GreaterThan(Vector256<float>, Vector256<float>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<float> GreaterThan(Vector256<float> left, Vector256<float> right)

Parameters

left Vector256<float>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<float>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<float>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<double>, Vector256<double>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<double> GreaterThan(Vector256<double> left, Vector256<double> right)

Parameters

left Vector256<double>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<double>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<double>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<sbyte>, Vector256<sbyte>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

[CLSCompliant(false)]
public static Vector256<sbyte> GreaterThan(Vector256<sbyte> left, Vector256<sbyte> right)

Parameters

left Vector256<sbyte>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<sbyte>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<sbyte>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<byte>, Vector256<byte>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<byte> GreaterThan(Vector256<byte> left, Vector256<byte> right)

Parameters

left Vector256<byte>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<byte>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<byte>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<short>, Vector256<short>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<short> GreaterThan(Vector256<short> left, Vector256<short> right)

Parameters

left Vector256<short>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<short>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<short>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<ushort>, Vector256<ushort>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

[CLSCompliant(false)]
public static Vector256<ushort> GreaterThan(Vector256<ushort> left, Vector256<ushort> right)

Parameters

left Vector256<ushort>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<ushort>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<ushort>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<int>, Vector256<int>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<int> GreaterThan(Vector256<int> left, Vector256<int> right)

Parameters

left Vector256<int>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<int>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<int>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<uint>, Vector256<uint>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

[CLSCompliant(false)]
public static Vector256<uint> GreaterThan(Vector256<uint> left, Vector256<uint> right)

Parameters

left Vector256<uint>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<uint>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<uint>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<long>, Vector256<long>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector256<long> GreaterThan(Vector256<long> left, Vector256<long> right)

Parameters

left Vector256<long>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<long>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<long>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan(Vector256<ulong>, Vector256<ulong>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

[CLSCompliant(false)]
public static Vector256<ulong> GreaterThan(Vector256<ulong> left, Vector256<ulong> right)

Parameters

left Vector256<ulong>

The vector to compare with right (将会与right进行比较的向量).

right Vector256<ulong>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector256<ulong>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also