C# Class xFunc.Maths.MathExtensions

Provides static methods for additional functions.
Exibir arquivo Open project: sys27/xFunc

Public Methods

Method Description
Acosh ( double d ) : double

Returns the angle whose hyperbolic cosine is the specified number.

Acot ( double d ) : double

Returns the angle whose cotangent is the specified number.

Acoth ( double d ) : double

Returns the angle whose hyperbolic cotangent is the specified number.

Acsc ( double d ) : double

Returns the angle whose cosecant is the specified number.

Acsch ( double d ) : double

Returns the angle whose hyperbolic cosecant is the specified number.

Asec ( double d ) : double

Returns the angle whose secant is the specified number.

Asech ( double d ) : double

Returns the angle whose hyperbolic secant is the specified number.

Asinh ( double d ) : double

Returns the angle whose hyperbolic sine is the specified number.

Atanh ( double d ) : double

Returns the angle whose hyperbolic tangent is the specified number.

Cot ( double d ) : double

Returns the cotangent of the specified angle.

Coth ( double d ) : double

Returns the hyperbolic cotangent of the specified angle.

Csc ( double d ) : double

Returns the cosecant of the specified angle.

Csch ( double d ) : double

Returns the hyperbolic cosecant of the specified angle.

Fact ( double n ) : double

Computes the factorial.

GCD ( ) : double

Computes the polynomial greatest common divisor.

GCD ( double a, double b ) : double

Computes the greatest common divisor.

LCM ( ) : double

Computes the polynomial least common multiple.

LCM ( double a, double b ) : double

Computes the least common multiple.

Pow ( double number, double power ) : double

Returns a specified number raised to the specified power.

Sec ( double d ) : double

Returns the secant of the specified angle.

Sech ( double d ) : double

Returns the hyperbolic secant of the specified angle.

ToNewBase ( int number, NumeralSystem numeralSystem ) : string

Converts number to the new numeral system.

Method Details

Acosh() public static method

Returns the angle whose hyperbolic cosine is the specified number.
public static Acosh ( double d ) : double
d double A number representing a hyperbolic cosine.
return double

Acot() public static method

Returns the angle whose cotangent is the specified number.
public static Acot ( double d ) : double
d double A number representing a cotangent.
return double

Acoth() public static method

Returns the angle whose hyperbolic cotangent is the specified number.
public static Acoth ( double d ) : double
d double A number representing a hyperbolic cotangent.
return double

Acsc() public static method

Returns the angle whose cosecant is the specified number.
public static Acsc ( double d ) : double
d double A number representing a hyperbolic cosecant.
return double

Acsch() public static method

Returns the angle whose hyperbolic cosecant is the specified number.
public static Acsch ( double d ) : double
d double A number representing a hyperbolic cosecant.
return double

Asec() public static method

Returns the angle whose secant is the specified number.
public static Asec ( double d ) : double
d double A number representing a secant.
return double

Asech() public static method

Returns the angle whose hyperbolic secant is the specified number.
public static Asech ( double d ) : double
d double A number representing a hyperbolic secant.
return double

Asinh() public static method

Returns the angle whose hyperbolic sine is the specified number.
public static Asinh ( double d ) : double
d double A number representing a hyperbolic sine.
return double

Atanh() public static method

Returns the angle whose hyperbolic tangent is the specified number.
public static Atanh ( double d ) : double
d double A number representing a hyperbolic tangent.
return double

Cot() public static method

Returns the cotangent of the specified angle.
public static Cot ( double d ) : double
d double An angle, measured in radians.
return double

Coth() public static method

Returns the hyperbolic cotangent of the specified angle.
public static Coth ( double d ) : double
d double An angle, measured in radians.
return double

Csc() public static method

Returns the cosecant of the specified angle.
public static Csc ( double d ) : double
d double An angle, measured in radians.
return double

Csch() public static method

Returns the hyperbolic cosecant of the specified angle.
public static Csch ( double d ) : double
d double An angle, measured in radians.
return double

Fact() public static method

Computes the factorial.
public static Fact ( double n ) : double
n double An argument.
return double

GCD() public static method

Computes the polynomial greatest common divisor.
is null.
public static GCD ( ) : double
return double

GCD() public static method

Computes the greatest common divisor.
public static GCD ( double a, double b ) : double
a double
b double
return double

LCM() public static method

Computes the polynomial least common multiple.
is null.
public static LCM ( ) : double
return double

LCM() public static method

Computes the least common multiple.
public static LCM ( double a, double b ) : double
a double
b double
return double

Pow() public static method

Returns a specified number raised to the specified power.
public static Pow ( double number, double power ) : double
number double A double-precision floating-point number to be raised to a power.
power double A double-precision floating-point number that specifies a power.
return double

Sec() public static method

Returns the secant of the specified angle.
public static Sec ( double d ) : double
d double An angle, measured in radians.
return double

Sech() public static method

Returns the hyperbolic secant of the specified angle.
public static Sech ( double d ) : double
d double An angle, measured in radians.
return double

ToNewBase() public static method

Converts number to the new numeral system.
public static ToNewBase ( int number, NumeralSystem numeralSystem ) : string
number int The number.
numeralSystem NumeralSystem The numeral system.
return string