FAST.Framework  1.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
FMath Class Reference

#include <FMath.h>

Public Member Functions

 FMath (const FMath &)=delete
 Delete standard constructor.
 
 FMath (FMath &&)=delete
 Delete standard constructor.
 
 FMath ()=delete
 Delete standard constructor.
 
FMathoperator= (const FMath &)=delete
 Delete copy operator.
 

Static Public Member Functions

static Double Sin (Double x)
 Returns the sine of a radian angle x.
 
static Double Cos (Double x)
 Returns the cosine of a radian angle x.
 
static Double Tan (Double x)
 Returns the tangent of a radian angle x.
 
static Double Cot (Double x)
 Returns the cotangent of a radian angle x.
 
static Double ASin (Double x)
 Returns the arc sine of x in radians.
 
static Double ACos (Double x)
 Returns the arc cosine of x in radians.
 
static Double ATan (Double x)
 Returns the arc tangent of x in radians.
 
static Double ACot (Double x)
 Returns the arc cotangent of x in radians.
 
static Double SinH (Double x)
 Returns the hyperbolic sine of x.
 
static Double CosH (Double x)
 Returns the hyperbolic cosine of x.
 
static Double TanH (Double x)
 Returns the hyperbolic tangent of x.
 
static Double CotH (Double x)
 Returns the hyperbolic cotangent of x.
 
static Double Exp (Double x)
 Returns the value of e raised to the xth power.
 
static Double Log (Double x)
 Returns the natural logarithm (base-e logarithm) of x.
 
static Double Log10 (Double x)
 Returns the common logarithm (base-10 logarithm) of x.
 
static Double Pow (Double x, Double y)
 Returns x raised to the power of y.
 
static Double Sqrt (Double x)
 Returns the square root of x.
 
static Double Ceil (Double x)
 Returns the smallest integer value greater than or equal to x.
 
static Double Floor (Double x)
 Returns the largest integer value less than or equal to x.
 
static Double Fabs (Double x)
 Returns the absolute value of x.
 
static Double LdExp (Double x, Int y)
 Returns x multiplied by 2 raised to the power of exponent.
 
static Double FrExp (Double x, Int *y)
 The returned value is the mantissa and the integer pointed to by exponent is the exponent. The resultant value is x = mantissa * 2 ^ y.
 
static Double ModF (Double x, Double *y)
 The returned value is the fraction component (part after the decimal), and sets y to the integer component.
 
static Double FMod (Double x, Double y)
 Returns the remainder of x divided by y.
 
static Double Round (Double x, UInt digits)
 Round the x on n digits.
 

Static Public Attributes

static constexpr Double E = 2.7182818284590451
 Represents the natural logarithmic base, specified by the constant, e.
 
static constexpr Double PI = 3.1415926535897931
 Represents the ratio of the circumference of a circle to its diameter, specified by the constant, PI.
 

Detailed Description

Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions


The documentation for this class was generated from the following files: