Matrix.Atan2Into<T> Method

Computes the four-quadrant inverse tangent of the corresponding elements of two matrices.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static Matrix<T> Atan2Into<T>(
	Matrix<T> y,
	Matrix<T> x,
	Matrix<T>? result
)

Parameters

y  Matrix<T>
A matrix that contains the y-coordinates.
x  Matrix<T>
A matrix that contains the x-coordinates.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Type Parameters

T

Return Value

Matrix<T>
A matrix whose elements are equal to the four-quadrant inverse tangent of the corresponding elements of y and x.

Exceptions

ArgumentNullException

y is null.

-or-

x is null.

See Also