Επεξεργασία

Κοινή χρήση μέσω


IFloatingPointIeee754<TSelf>.Atan2(TSelf, TSelf) Method

Definition

Computes the arc-tangent for the quotient of two values.

public:
 static TSelf Atan2(TSelf y, TSelf x);
public static abstract TSelf Atan2 (TSelf y, TSelf x);
static member Atan2 : 'Self * 'Self -> 'Self
Public Shared Function Atan2 (y As TSelf, x As TSelf) As TSelf

Parameters

y
TSelf

The y-coordinate of a point.

x
TSelf

The x-coordinate of a point.

Returns

TSelf

The arc-tangent of y divided-by x.

Remarks

This computes arctan(y / x) in the interval [-π, +π] radians.

Applies to