Langue

Tensor.IndexOfMaxMagnitude<T>(ReadOnlyTensorSpan<T>) Méthode

Définition

Recherche l’index du nombre avec la plus grande magnitude dans le tensor spécifié.

public:
generic <typename T>
 where T : System::Numerics::INumber<T> static IntPtr IndexOfMaxMagnitude(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static IntPtr IndexOfMaxMagnitude<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumber<T>;
static member IndexOfMaxMagnitude : ReadOnlyTensorSpan -> nativeint (requires 'T :> System.Numerics.INumber<'T>)
Public Function IndexOfMaxMagnitude(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As IntPtr

Paramètres de type

T

Paramètres

Retours

IntPtr

nativeint

S’applique à