TensorPrimitives.MaxMagnitude 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
MaxMagnitude(ReadOnlySpan<Single>)
- Source:
- TensorPrimitives.cs
- Source:
- TensorPrimitives.Single.cs
- Source:
- TensorPrimitives.Single.cs
public:
static float MaxMagnitude(ReadOnlySpan<float> x);
public static float MaxMagnitude (ReadOnlySpan<float> x);
static member MaxMagnitude : ReadOnlySpan<single> -> single
Public Shared Function MaxMagnitude (x As ReadOnlySpan(Of Single)) As Single
Parameters
Returns
Applies to
MaxMagnitude(ReadOnlySpan<Single>, ReadOnlySpan<Single>, Span<Single>)
- Source:
- TensorPrimitives.cs
- Source:
- TensorPrimitives.Single.cs
- Source:
- TensorPrimitives.Single.cs
public:
static void MaxMagnitude(ReadOnlySpan<float> x, ReadOnlySpan<float> y, Span<float> destination);
public static void MaxMagnitude (ReadOnlySpan<float> x, ReadOnlySpan<float> y, Span<float> destination);
static member MaxMagnitude : ReadOnlySpan<single> * ReadOnlySpan<single> * Span<single> -> unit
Public Shared Sub MaxMagnitude (x As ReadOnlySpan(Of Single), y As ReadOnlySpan(Of Single), destination As Span(Of Single))
Parameters
Applies to
MaxMagnitude<T>(ReadOnlySpan<T>)
public:
generic <typename T>
where T : System::Numerics::INumberBase<T> static T MaxMagnitude(ReadOnlySpan<T> x);
public static T MaxMagnitude<T> (ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member MaxMagnitude : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> 'T (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function MaxMagnitude(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T)) As T
Type Parameters
- T
Parameters
Returns
T
Applies to
MaxMagnitude<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)
public:
generic <typename T>
where T : System::Numerics::INumberBase<T> static void MaxMagnitude(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination);
public static void MaxMagnitude<T> (ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) where T : System.Numerics.INumberBase<T>;
static member MaxMagnitude : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> * ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> * Span<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> unit (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Sub MaxMagnitude(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T), y As ReadOnlySpan(Of T), destination As Span(Of T))
Type Parameters
- T
Parameters
- destination
- Span<T>
Applies to
MaxMagnitude<T>(ReadOnlySpan<T>, T, Span<T>)
public:
generic <typename T>
where T : System::Numerics::INumberBase<T> static void MaxMagnitude(ReadOnlySpan<T> x, T y, Span<T> destination);
public static void MaxMagnitude<T> (ReadOnlySpan<T> x, T y, Span<T> destination) where T : System.Numerics.INumberBase<T>;
static member MaxMagnitude : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> * 'T * Span<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> unit (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Sub MaxMagnitude(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T), y As T, destination As Span(Of T))
Type Parameters
- T
Parameters
- y
- T
- destination
- Span<T>
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈