Vector.GreaterThan Method

Definition

Overloads

GreaterThan(Vector<Double>, Vector<Double>)

Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector.

GreaterThan(Vector<Int32>, Vector<Int32>)

Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector.

GreaterThan(Vector<Int64>, Vector<Int64>)

Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector.

GreaterThan(Vector<Single>, Vector<Single>)

Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector.

GreaterThan<T>(Vector<T>, Vector<T>)

Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time.

GreaterThan(Vector<Double>, Vector<Double>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector.

public static System.Numerics.Vector<long> GreaterThan (System.Numerics.Vector<double> left, System.Numerics.Vector<double> right);

Parameters

left
Vector<Double>

The first vector to compare.

right
Vector<Double>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

GreaterThan(Vector<Int32>, Vector<Int32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector.

public static System.Numerics.Vector<int> GreaterThan (System.Numerics.Vector<int> left, System.Numerics.Vector<int> right);

Parameters

left
Vector<Int32>

The first vector to compare.

right
Vector<Int32>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

GreaterThan(Vector<Int64>, Vector<Int64>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector.

public static System.Numerics.Vector<long> GreaterThan (System.Numerics.Vector<long> left, System.Numerics.Vector<long> right);

Parameters

left
Vector<Int64>

The first vector to compare.

right
Vector<Int64>

The second vector to compare.

Returns

The resulting long integer vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

GreaterThan(Vector<Single>, Vector<Single>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector.

public static System.Numerics.Vector<int> GreaterThan (System.Numerics.Vector<float> left, System.Numerics.Vector<float> right);

Parameters

left
Vector<Single>

The first vector to compare.

right
Vector<Single>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

GreaterThan<T>(Vector<T>, Vector<T>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time.

public static System.Numerics.Vector<T> GreaterThan<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> GreaterThan<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);

Type Parameters

T

The vector type. T can be any primitive numeric type.

Parameters

left
Vector<T>

The first vector to compare.

right
Vector<T>

The second vector to compare.

Returns

The resulting vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0