Tensor.GreaterThanOrEqual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>) |
Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of |
GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, T) |
Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than or equal to |
GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>) |
Compares |
GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>) |
Compares the elements of two ReadOnlyTensorSpan<T> to see which elements of |
GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<Boolean>) |
Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than or equal to |
GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>) |
Compares |
GreaterThanOrEqual<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 or equal to 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> ^ GreaterThanOrEqual(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<bool> GreaterThanOrEqual<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 GreaterThanOrEqual : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<bool> (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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
First ReadOnlyTensorSpan<T> to compare.
Second ReadOnlyTensorSpan<T> to compare.
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
GreaterThanOrEqual<T>(ReadOnlyTensorSpan<T>, T)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Compares the elements of a ReadOnlyTensorSpan<T> to see which elements are greater than or equal to 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> ^ GreaterThanOrEqual(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y);
public static System.Numerics.Tensors.Tensor<bool> GreaterThanOrEqual<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.IComparisonOperators<T,T,bool>;
static member GreaterThanOrEqual : ReadOnlyTensorSpan * 'T -> System.Numerics.Tensors.Tensor<bool> (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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
ReadOnlyTensorSpan<T> to compare.
- 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
GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Compares x
to see which elements are greater than or equal to 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> ^ GreaterThanOrEqual(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<bool> GreaterThanOrEqual<T> (T x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IComparisonOperators<T,T,bool>;
static member GreaterThanOrEqual : 'T * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<bool> (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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.
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
GreaterThanOrEqual<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 or equal to 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> ^ GreaterThanOrEqual(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> GreaterThanOrEqual<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 GreaterThanOrEqual : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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
First ReadOnlyTensorSpan<T> to compare.
Second ReadOnlyTensorSpan<T> to compare.
- 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
GreaterThanOrEqual<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 or equal to 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> ^ GreaterThanOrEqual(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y, System::Numerics::Tensors::TensorSpan<bool> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<bool> GreaterThanOrEqual<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 GreaterThanOrEqual : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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
ReadOnlyTensorSpan<T> to compare.
- 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
GreaterThanOrEqual<T>(T, ReadOnlyTensorSpan<T>, TensorSpan<Boolean>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Compares x
to see which elements are greater than or equal to 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> ^ GreaterThanOrEqual(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y, System::Numerics::Tensors::TensorSpan<bool> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<bool> GreaterThanOrEqual<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 GreaterThanOrEqual : 'T * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IComparisonOperators<'T, 'T, bool>)
Public Function GreaterThanOrEqual(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.
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.