TensorPrimitives.Negate 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
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
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: