Wiselib
|
#include <standalone_math.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef double | real_t |
typedef int32_t | integer_t |
Static Public Member Functions | |
static real_t | sqrt (real_t) |
static real_t | radians_to_degrees (real_t) |
static real_t | degrees_to_radians (real_t) |
static real_t | sin (real_t) |
static real_t | cos (real_t) |
static real_t | tan (real_t) |
static real_t | asin (real_t) |
static real_t | acos (real_t) |
static real_t | fabs (real_t) |
template<typename T > | |
static T | sgn (T x) |
static integer_t | trunc (real_t) |
chop off everything after the decimal dot | |
static integer_t | floor (real_t) |
round to nearest integer that is <= value | |
static integer_t | ceil (real_t) |
round to nearest integer that is >= value | |
static integer_t | round (real_t) |
round to nearest integer | |
Public Attributes | |
static const real_t | PI_2 = 1.57079632679489661923 |
static const real_t | PI_3 = 1.04719755119659763132 |
static const real_t | PI_4 = 0.78539816339744830962 |
static const real_t | PI_6 = 0.52359877559829881566 |
Static Public Attributes | |
static const real_t | PI = 3.14159265358979323846 |
typedef int32_t wiselib::StandaloneMath< OsModel_P >::integer_t |
typedef OsModel_P wiselib::StandaloneMath< OsModel_P >::OsModel |
typedef double wiselib::StandaloneMath< OsModel_P >::real_t |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::acos | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::asin | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::integer_t wiselib::StandaloneMath< OsModel_P >::ceil | ( | real_t | ) | [static] |
round to nearest integer that is >= value
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::cos | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::degrees_to_radians | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::fabs | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::integer_t wiselib::StandaloneMath< OsModel_P >::floor | ( | real_t | ) | [static] |
round to nearest integer that is <= value
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::radians_to_degrees | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::integer_t wiselib::StandaloneMath< OsModel_P >::round | ( | real_t | ) | [static] |
round to nearest integer
static T wiselib::StandaloneMath< OsModel_P >::sgn | ( | T | x | ) | [inline, static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::sin | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::sqrt | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::tan | ( | real_t | ) | [static] |
StandaloneMath< OsModel_P >::integer_t wiselib::StandaloneMath< OsModel_P >::trunc | ( | real_t | ) | [static] |
chop off everything after the decimal dot
const StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::PI = 3.14159265358979323846 [static] |
const StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::PI_2 = 1.57079632679489661923 |
const StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::PI_3 = 1.04719755119659763132 |
const StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::PI_4 = 0.78539816339744830962 |
const StandaloneMath< OsModel_P >::real_t wiselib::StandaloneMath< OsModel_P >::PI_6 = 0.52359877559829881566 |