TensorPrimitives.Atan2Pi 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
Atan2Pi<T>(ReadOnlySpan<T>, T, Span<T>) |
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi. |
Atan2Pi<T>(T, ReadOnlySpan<T>, Span<T>) |
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi. |
Atan2Pi<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>) |
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi. |
Atan2Pi<T>(ReadOnlySpan<T>, T, Span<T>)
- Source:
- TensorPrimitives.Atan2Pi.cs
- Source:
- TensorPrimitives.Atan2Pi.cs
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2Pi(ReadOnlySpan<T> y, T x, Span<T> destination);
public static void Atan2Pi<T> (ReadOnlySpan<T> y, T x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2Pi : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * 'T * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Atan2Pi(Of T As IFloatingPointIeee754(Of T)) (y As ReadOnlySpan(Of T), x As T, destination As Span(Of T))
Type Parameters
- T
Parameters
The first tensor, represented as a span.
- x
- T
The second tensor, represented as a scalar.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
y
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T
.Atan2(y
[i], x
)
This method may call into the underlying C runtime or employ instructions specific to the current architecture. Exact results may differ between different operating systems or architectures.
Applies to
Atan2Pi<T>(T, ReadOnlySpan<T>, Span<T>)
- Source:
- TensorPrimitives.Atan2Pi.cs
- Source:
- TensorPrimitives.Atan2Pi.cs
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2Pi(T y, ReadOnlySpan<T> x, Span<T> destination);
public static void Atan2Pi<T> (T y, ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2Pi : 'T * ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Atan2Pi(Of T As IFloatingPointIeee754(Of T)) (y As T, x As ReadOnlySpan(Of T), destination As Span(Of T))
Type Parameters
- T
Parameters
- y
- T
The first tensor, represented as a scalar.
The second tensor, represented as a span.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
x
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T
.Atan2(y
, x
[i])
This method may call into the underlying C runtime or employ instructions specific to the current architecture. Exact results may differ between different operating systems or architectures.
Applies to
Atan2Pi<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)
- Source:
- TensorPrimitives.Atan2Pi.cs
- Source:
- TensorPrimitives.Atan2Pi.cs
Computes the element-wise arc-tangent for the quotient of two values in the specified tensors and divides the result by Pi.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2Pi(ReadOnlySpan<T> y, ReadOnlySpan<T> x, Span<T> destination);
public static void Atan2Pi<T> (ReadOnlySpan<T> y, ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2Pi : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Atan2Pi(Of T As IFloatingPointIeee754(Of T)) (y As ReadOnlySpan(Of T), x As ReadOnlySpan(Of T), destination As Span(Of T))
Type Parameters
- T
Parameters
The first tensor, represented as a span.
The second tensor, represented as a span.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
x
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T
.Atan2(y
[i], x
[i])
This method may call into the underlying C runtime or employ instructions specific to the current architecture. Exact results may differ between different operating systems or architectures.