#include <math.h>
| el7::scripting::libs::math::math | ( | void | ) |
Default constructor.
| el7::scripting::libs::math::~math | ( | void | ) |
Destructor.
| bool el7::scripting::libs::math::abs | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = abs( x ); Computes the absolute value of x.
| bool el7::scripting::libs::math::acos | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = acos( x ); Computes the principal value of the arc cosine of x, expressed in radians.
| bool el7::scripting::libs::math::asin | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = asin( x ); Computes the principal value of the arc sine of x, expressed in radians.
| bool el7::scripting::libs::math::atan | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = atan( x ); Computes the principal value of the arc tangent of x, expressed in radians.
| bool el7::scripting::libs::math::atan2 | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = atan2( y, x ); Computes the principal value of the arc tangent of y/x, expressed in radians.
| bool el7::scripting::libs::math::ceil | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = ceil( x ); Computes the smallest integral value that is not less than x.
| bool el7::scripting::libs::math::cos | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = cos( x ); Computes the cosine of an angle of x radians.
| bool el7::scripting::libs::math::cosh | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = cosh( x ); Computes the hyperbolic cosine of x.
| bool el7::scripting::libs::math::exp | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = exp( x ); Computes the base-e exponential function of x, which is the e number raised to the power x.
| bool el7::scripting::libs::math::floor | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = floor( x ); Computes the largest integral value that is not greater than x.
| bool el7::scripting::libs::math::fmod | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = fmod( y, x ); Computes the floating-point remainder of y/x.
| bool el7::scripting::libs::math::log | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = log( x ); Computes the natural logarithm of x.
| bool el7::scripting::libs::math::log10 | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = log10( x ); Computes the common (base-10) logarithm of x.
| bool el7::scripting::libs::math::pow | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = pow( x, z ); Returns x raised to the power of z.
| bool el7::scripting::libs::math::sin | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = sin( x ); Computes the sine of an angle of x radians.
| bool el7::scripting::libs::math::sinh | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = sinh( x ); Computes the hyperbolic sine of x.
| bool el7::scripting::libs::math::sqrt | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = sqrt( x ); Calculates the square root of x.
| bool el7::scripting::libs::math::tan | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = tan( x ); Calculates the tangent of x (in radians).
| bool el7::scripting::libs::math::tanh | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| BaseFunction::Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | [static] |
y = tanh( x ); Computes the hyperbolic tangent of x.
1.7.1