ArrayFunctions<T>.Atan2 Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Atan2(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the inverse tangent of each element of two arrays.
Atan2(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the inverse tangent of each element of two arrays.
Atan2<TStorage>(Int32, TStorage, TStorage, TStorage) Computes the inverse tangent of each element of two arrays.

Atan2(Int32, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, SpanSlice<T>)

Computes the inverse tangent of each element of two arrays.
C#
public void Atan2(
	int length,
	ReadOnlySpanSlice<T> y,
	ReadOnlySpanSlice<T> x,
	SpanSlice<T> result
)

Parameters

length  Int32
The number of elements in the arrays.
y  ReadOnlySpanSlice<T>
The span that holds the y-values.
x  ReadOnlySpanSlice<T>
The span that holds the x-values.
result  SpanSlice<T>
The span that holds the results.

Atan2<TStorage>(Int32, TStorage, TStorage, TStorage)

Computes the inverse tangent of each element of two arrays.
C#
public void Atan2<TStorage>(
	int length,
	TStorage y,
	TStorage x,
	TStorage result
)
where TStorage : Object, IStorageSlice<T>

Parameters

length  Int32
The number of elements in the arrays.
y  TStorage
The array that holds the y-values.
x  TStorage
The array that holds the x-values.
result  TStorage
The array that holds the results.

Type Parameters

TStorage

Atan2(Int32, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Computes the inverse tangent of each element of two arrays.
C#
public abstract void Atan2(
	int length,
	ReadOnlySpan<T> y,
	int yStride,
	ReadOnlySpan<T> x,
	int xStride,
	Span<T> result,
	int resultStride
)

Parameters

length  Int32
The number of elements in the arrays.
y  ReadOnlySpan<T>
The span that holds the y-values.
yStride  Int32
The distance between elements in y.
x  ReadOnlySpan<T>
The span that holds the x-values.
xStride  Int32
The distance between elements in x.
result  Span<T>
The span that holds the results.
resultStride  Int32
The distance between elements in result.

See Also