Edit

Share via


TensorPrimitives.IndexOfMaxMagnitude Method

Definition

Overloads

IndexOfMaxMagnitude(ReadOnlySpan<Single>)
IndexOfMaxMagnitude<T>(ReadOnlySpan<T>)

IndexOfMaxMagnitude(ReadOnlySpan<Single>)

Source:
TensorPrimitives.cs
Source:
TensorPrimitives.Single.cs
Source:
TensorPrimitives.Single.cs
public:
 static int IndexOfMaxMagnitude(ReadOnlySpan<float> x);
public static int IndexOfMaxMagnitude (ReadOnlySpan<float> x);
static member IndexOfMaxMagnitude : ReadOnlySpan<single> -> int
Public Shared Function IndexOfMaxMagnitude (x As ReadOnlySpan(Of Single)) As Integer

Parameters

Returns

Applies to

IndexOfMaxMagnitude<T>(ReadOnlySpan<T>)

Source:
TensorPrimitives.IndexOfMaxMagnitude.cs
Source:
TensorPrimitives.IndexOfMaxMagnitude.cs
public:
generic <typename T>
 where T : System::Numerics::INumber<T> static int IndexOfMaxMagnitude(ReadOnlySpan<T> x);
public static int IndexOfMaxMagnitude<T> (ReadOnlySpan<T> x) where T : System.Numerics.INumber<T>;
static member IndexOfMaxMagnitude : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumber<'T>)> -> int (requires 'T :> System.Numerics.INumber<'T>)
Public Shared Function IndexOfMaxMagnitude(Of T As INumber(Of T)) (x As ReadOnlySpan(Of T)) As Integer

Type Parameters

T

Parameters

Returns

Applies to