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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk