Tensor.MinNumber 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
MinNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>) |
Computes the element-wise minimum of the numbers in the specified tensors. |
MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Computes the element-wise minimum of the numbers in the specified tensors. |
MinNumber<T>(ReadOnlyTensorSpan<T>) |
Searches for the smallest number in the specified tensor. |
MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>) |
Computes the element-wise minimum of the numbers in the specified tensors. |
MinNumber<T>(ReadOnlyTensorSpan<T>, T) |
Computes the element-wise minimum of the numbers in the specified tensors. |
MinNumber<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Computes the element-wise minimum of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static System::Numerics::Tensors::TensorSpan<T> ^ MinNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> MinNumber<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.INumber<T>;
static member MinNumber : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.INumber<'T>)
Public Function MinNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), y As T, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
The first tensor, represented as a span.
- y
- T
The second tensor, represented as a span.
- destination
- TensorSpan<T>
The destination tensor, represented as a span.
Returns
Applies to
MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Computes the element-wise minimum of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static System::Numerics::Tensors::TensorSpan<T> ^ MinNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> MinNumber<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.INumber<T>;
static member MinNumber : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.INumber<'T>)
Public Function MinNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
The first tensor, represented as a span.
The second tensor, represented as a span.
- destination
- TensorSpan<T>
The destination tensor, represented as a span.
Returns
Applies to
MinNumber<T>(ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Searches for the smallest number in the specified tensor.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static T MinNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static T MinNumber<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumber<T>;
static member MinNumber : ReadOnlyTensorSpan -> 'T (requires 'T :> System.Numerics.INumber<'T>)
Public Function MinNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As T
Type Parameters
- T
Parameters
The input TensorSpan<T>..
Returns
Applies to
MinNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Computes the element-wise minimum of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static System::Numerics::Tensors::Tensor<T> ^ MinNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<T> MinNumber<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.INumber<T>;
static member MinNumber : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.INumber<'T>)> (requires 'T :> System.Numerics.INumber<'T>)
Public Function MinNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)
Type Parameters
- T
Parameters
The first tensor, represented as a span.
The second tensor, represented as a span.
Returns
Applies to
MinNumber<T>(ReadOnlyTensorSpan<T>, T)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Computes the element-wise minimum of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::INumber<T> static System::Numerics::Tensors::Tensor<T> ^ MinNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y);
public static System.Numerics.Tensors.Tensor<T> MinNumber<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.INumber<T>;
static member MinNumber : ReadOnlyTensorSpan * 'T -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.INumber<'T>)> (requires 'T :> System.Numerics.INumber<'T>)
Public Function MinNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), y As T) As Tensor(Of T)
Type Parameters
- T
Parameters
The first tensor, represented as a span.
- y
- T
The second tensor, represented as a span.