Edit

Share via


Tensor.IndexOfMaxMagnitude Method

Definition

Overloads

IndexOfMaxMagnitude<T>(ReadOnlyTensorSpan<T>)
IndexOfMaxMagnitude<T>(Tensor<T>)

IndexOfMaxMagnitude<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::INumber<T> static int IndexOfMaxMagnitude(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input);
public static int IndexOfMaxMagnitude<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input) where T : System.Numerics.INumber<T>;
static member IndexOfMaxMagnitude : ReadOnlyTensorSpan -> int (requires 'T :> System.Numerics.INumber<'T>)
Public Function IndexOfMaxMagnitude(Of T As INumber(Of T)) (ByRef input As ReadOnlyTensorSpan(Of T)) As Integer

Type Parameters

T

Parameters

Returns

Applies to

IndexOfMaxMagnitude<T>(Tensor<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::INumber<T> static int IndexOfMaxMagnitude(System::Numerics::Tensors::Tensor<T> ^ input);
public static int IndexOfMaxMagnitude<T> (System.Numerics.Tensors.Tensor<T> input) where T : System.Numerics.INumber<T>;
static member IndexOfMaxMagnitude : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.INumber<'T>)> -> int (requires 'T :> System.Numerics.INumber<'T>)
Public Function IndexOfMaxMagnitude(Of T As INumber(Of T)) (input As Tensor(Of T)) As Integer

Type Parameters

T

Parameters

input
Tensor<T>

Returns

Applies to