Κοινή χρήση μέσω


Tensor.GreaterThan Method

Definition

Overloads

GreaterThan<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which 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 Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, T)

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Compares the elements of two ReadOnlyTensorSpan<T> to see which 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 Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(T, ReadOnlyTensorSpan<T>)

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

GreaterThan<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

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

Type Parameters

T

Parameters

y
T

T to compare against x.

destination
TensorSpan<Boolean>

Returns

Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares the elements of two ReadOnlyTensorSpan<T> to see which 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 Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

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

Type Parameters

T

Parameters

destination
TensorSpan<Boolean>

Returns

A Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to

GreaterThan<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

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

Type Parameters

T

Parameters

x
T

ReadOnlyTensorSpan<T> to compare.

y
ReadOnlyTensorSpan<T>

T to compare against x.

destination
TensorSpan<Boolean>

Returns

Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to

GreaterThan<T>(ReadOnlyTensorSpan<T>, T)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

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

Type Parameters

T

Parameters

y
T

T to compare against x.

Returns

Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to

GreaterThan<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares the elements of two ReadOnlyTensorSpan<T> to see which 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 Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

public:
generic <typename T>
 where T : System::Numerics::IComparisonOperators<T, T, bool> static System::Numerics::Tensors::Tensor<bool> ^ GreaterThan(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<bool> GreaterThan<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 GreaterThan : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<bool> (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThan(Of T As IComparisonOperators(Of T, T, Boolean)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of Boolean)

Type Parameters

T

Parameters

Returns

A Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to

GreaterThan<T>(T, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Compares x to see which elements are greater than y. It returns a Tensor<T> where the value is true if the elements in x are greater than y and false if they are not."/>

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

Type Parameters

T

Parameters

x
T

ReadOnlyTensorSpan<T> to compare.

y
ReadOnlyTensorSpan<T>

T to compare against x.

Returns

Tensor<T> where the value is true if the elements in x are greater than y and false if they are not.

Applies to