Edit

Share via


TensorPrimitives.CopySign Method

Definition

Overloads

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

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

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

Type Parameters

T

Parameters

destination
Span<T>

Applies to

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

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

Type Parameters

T

Parameters

sign
T
destination
Span<T>

Applies to