Vector.Atan2<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.2
C#
public static Vector<T> Atan2<T>(
	this Vector<T> y,
	Vector<T> x
)

Parameters

y  Vector<T>
A vector that contains the y-coordinates.
x  Vector<T>
A vector that contains the x-coordinates.

Type Parameters

T

Return Value

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullException

y is null.

-or-

x is null.

See Also