Читати англійською Редагувати

Поділитися через


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

Definition

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

C#
public static abstract TSelf Atan2(TSelf y, TSelf x);

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

Продукт Версії
.NET 7, 8, 9, 10