Share via


Tensor.GreaterThanOrEqualAny Method

Definition

Overloads

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

GreaterThanOrEqualAny<T>(T, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are greater than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are greater than x.

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

public:
generic <typename T>
 where T : System::Numerics::IComparisonOperators<T, T, bool> static bool GreaterThanOrEqualAny(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static bool GreaterThanOrEqualAny<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IComparisonOperators<T,T,bool>;
static member GreaterThanOrEqualAny : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> bool (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqualAny(Of T As IComparisonOperators(Of T, T, Boolean)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T)) As Boolean

Type Parameters

T

Parameters

y
ReadOnlyTensorSpan<T>

Second ReadOnlyTensorSpan<T> to compare against.

Returns

Boolean where the value is true if any elements in x are greater than y.

Applies to

GreaterThanOrEqualAny<T>(ReadOnlyTensorSpan<T>, T)

Source:
TensorExtensions.cs

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of x are greater than y. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in x are greater than y.

public:
generic <typename T>
 where T : System::Numerics::IComparisonOperators<T, T, bool> static bool GreaterThanOrEqualAny(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y);
public static bool GreaterThanOrEqualAny<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.IComparisonOperators<T,T,bool>;
static member GreaterThanOrEqualAny : ReadOnlyTensorSpan * 'T -> bool (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqualAny(Of T As IComparisonOperators(Of T, T, Boolean)) (ByRef x As ReadOnlyTensorSpan(Of T), y As T) As Boolean

Type Parameters

T

Parameters

y
T

Value to compare against.

Returns

Boolean where the value is true if any elements in x are greater than y.

Applies to

GreaterThanOrEqualAny<T>(T, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Compares the elements of two ReadOnlyTensorSpan<T> to see if any elements of y are greater than x. If the shapes are not the same, the tensors are broadcasted to the smallest broadcastable size before they are compared. It returns a Boolean where the value is true if any elements in y are greater than x.

public:
generic <typename T>
 where T : System::Numerics::IComparisonOperators<T, T, bool> static bool GreaterThanOrEqualAny(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static bool GreaterThanOrEqualAny<T> (T x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IComparisonOperators<T,T,bool>;
static member GreaterThanOrEqualAny : 'T * ReadOnlyTensorSpan -> bool (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqualAny(Of T As IComparisonOperators(Of T, T, Boolean)) (x As T, ByRef y As ReadOnlyTensorSpan(Of T)) As Boolean

Type Parameters

T

Parameters

x
T

Value to compare against.

Returns

Boolean where the value is true if any elements in y are greater than x.

Applies to