15 public static double ACosine(
this double d)
38 return Math.Atan2(y, x);
46 public static double ASine(
this double d)
54 public static double Cosine(
this double d)
64 public static double Floor(
this double d)
74 public static double Log10(
this double d)
83 public static double Sine(
this double a)
115 return radians * Math.PI / 180;
125 return degrees * (Math.PI / 180);
Extension methods for mathematical calculations.
static double Floor(this double d)
Returns the largest integral value less than or equal to the specified double-precision floating-poin...
static double ToDegrees(this double radians)
Convert radians to degrees.
static double AngleTangent(this double d)
Returns the angle whose tangent is the specified number.
static double Log10(this double d)
Returns the base 10 logarithm of a specified number.
static double Cosine(this double d)
Returns the cosine of the specified angle.
static double ToRadians(this double degrees)
Convert degrees to radians.
static double AngleTangent2(this double y, double x)
Returns the angle whose tangent is the quotient of two specified numbers.
static double Sine(this double a)
Returns the sine of the specified angle.
static double Tangent(this double a)
Returns the tangent of the specified angle. ///.
static double ACosine(this double d)
Returns the angle whose cosine is the specified number.
static double SquareRoot(this double d)
Returns the square root of a specified number.
static double ASine(this double d)
Returns the angle whose sine is the specified number.