Edit

Share via


TensorPrimitives.Negate Method

Definition

Overloads

Negate(ReadOnlySpan<Single>, Span<Single>)
Negate<T>(ReadOnlySpan<T>, Span<T>)

Negate(ReadOnlySpan<Single>, Span<Single>)

Source:
TensorPrimitives.cs
Source:
TensorPrimitives.Single.cs
Source:
TensorPrimitives.Single.cs
public:
 static void Negate(ReadOnlySpan<float> x, Span<float> destination);
public static void Negate (ReadOnlySpan<float> x, Span<float> destination);
static member Negate : ReadOnlySpan<single> * Span<single> -> unit
Public Shared Sub Negate (x As ReadOnlySpan(Of Single), destination As Span(Of Single))

Parameters

destination
Span<Single>

Applies to

Negate<T>(ReadOnlySpan<T>, Span<T>)

Source:
TensorPrimitives.Negate.cs
Source:
TensorPrimitives.Negate.cs
public:
generic <typename T>
 where T : System::Numerics::IUnaryNegationOperators<T, T> static void Negate(ReadOnlySpan<T> x, Span<T> destination);
public static void Negate<T> (ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IUnaryNegationOperators<T,T>;
static member Negate : ReadOnlySpan<'T (requires 'T :> System.Numerics.IUnaryNegationOperators<'T, 'T>)> * Span<'T (requires 'T :> System.Numerics.IUnaryNegationOperators<'T, 'T>)> -> unit (requires 'T :> System.Numerics.IUnaryNegationOperators<'T, 'T>)
Public Shared Sub Negate(Of T As IUnaryNegationOperators(Of T, T)) (x As ReadOnlySpan(Of T), destination As Span(Of T))

Type Parameters

T

Parameters

destination
Span<T>

Applies to