107 Commits (0f94fde434be9129d377731ae0766e74cd28b04f)

Author SHA1 Message Date
Peter Barker 1ca76173a5 AP_Math: set radians(...) and degrees(...) as constexpr 7 years ago
Miguel Arroyo 7cea21afa2 AP_Math: Moves rand_vec3f from SITL_State. 8 years ago
Francisco Ferreira da5060964b AP_Math: uniformize template type parameter keyword 8 years ago
Francisco Ferreira 7b98f41947 AP_Math: correct norm to need two arguments 8 years ago
Michael du Breuil 2cd6ff6dd5 AP_Math: Accept float epsilon in is_positive is_negative as a valid result 8 years ago
Michael du Breuil 5a15413513 AP_Math: Add is_negative and is_positive helpers 8 years ago
Andrew Tridgell 607220d12b AP_Math: rename macros to avoid conflicts 8 years ago
Andrew Tridgell 2fcecaa7c5 AP_Math: added rand_float() 8 years ago
Pierre Kancir da49149d19 AP_Math: is_equal correct comparison for integer as epsilon doesn't exist. 8 years ago
Pierre Kancir ce734b5f7b AP_Math: Remove unecessary check 8 years ago
Andrew Tridgell a8d10e8c2c AP_Math: added get_random16() 8 years ago
Lucas De Marchi 0d4caa3ccc AP_Math: remove declaration of not implemented functions 9 years ago
Lucas De Marchi 1ac712fa65 AP_Math: fix is_zero() after template conversion 9 years ago
dgrat 7ff8004f8f AP_Math: Replace is_zero() with a template function 9 years ago
Lucas De Marchi aa974399d0 AP_Math: use inline wrappers for constrain_* functions 9 years ago
Lucas De Marchi bd6e268122 AP_Math: fix coding style 9 years ago
Lucas De Marchi ab1fa4b435 AP_Math: reorganize headers 9 years ago
dgrat 6d3b491c02 AP_Math: Replace is_equal with a type safe template function 9 years ago
dgrat 503867b7dc AP_Math: Replace safe_sqrt() by template function 9 years ago
dgrat 5deb0e8e03 AP_Math: Replace safe_asin() by template function 9 years ago
dgrat 174f899a29 AP_Math: Replace the constrain_* functions by a single template 9 years ago
dgrat 41661f815f AP_Math: Replace the pythagorous* functions with a variadic template 9 years ago
dgrat 76362caee0 AP_Math: Replace wrap_* functions with template versions 9 years ago
Andrew Tridgell e8142b0b5b AP_Math: added wrap_360() 9 years ago
Ricardo de Almeida Gonzaga 5bd034a5a8 Global: start using cmath instead of math.h 9 years ago
Andrew Tridgell 6bff07397e AP_Math: added linear_interpolate() function 9 years ago
dgrat 672acdc8ef AP_Math: Created location.h header for location functions 9 years ago
dgrat 5148e41c1a AP_Math: Cleaned macro definitions 9 years ago
dgrat 7c4c8ea579 AP_Math: Remove ROTATION_COMBINATION_SUPPORT 9 years ago
Daniel Frenzel ead51a9d19 AP_Math: Removed useless "undef INLINE" 9 years ago
Daniel Frenzel ef7cf7c4aa AP_Math: Removed useless header 9 years ago
Peter Barker 80bc7a50d7 AP_Math: define MATH_CHECK_INDEXES 9 years ago
Andrew Tridgell 60af7a6087 AP_Math: removed matrix3 parameter support 9 years ago
bugobliterator 1a4b4fa85e AP_Math: add inverse matrix test to check if inverse(mat)*mat = I 9 years ago
José Roberto de Souza d74bd533c8 AP_Math: Add function to convert frequency to/from microseconds 9 years ago
José Roberto de Souza 38575dd87a AP_Math: Fix parameter name in nsec_to_hz() 9 years ago
Jonathan Challinger fff275fd99 AP_Math: add wrap_2PI 9 years ago
Tom Pittenger f8b0a6a977 AP_Math: compiler warnings - undeclared function 9 years ago
Lucas De Marchi aa9168e0e9 AP_Math: remove unused maxf() 9 years ago
Lucas De Marchi 6f88fba8e5 AP_Math: remove unused minf() 9 years ago
Lucas De Marchi e0a0514c79 AP_Math: turn MIN/MAX macros into inline functions 9 years ago
Lucas De Marchi 2591261af6 Global: rename min and max macros to uppercase 9 years ago
José Roberto de Souza d53911e3f6 AP_Math: Add functions to convert microseconds to/from nanoseconds 9 years ago
José Roberto de Souza ca533a9d94 AP_Math: Add functions to convert frequency to/from nanoseconds 9 years ago
Lucas De Marchi fb28f426da AP_Math: remove check for AVR CPUs 9 years ago
Lucas De Marchi c7871d1bca AP_Math: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 9 years ago
Valmantas Palikša d4daf19151 AP_Math: Move simple math function implementations to header for better 10 years ago
Tom Pittenger 4771d19073 AP_Math: added locations_are_same(loc1,loc2) helper 10 years ago
Jonathan Challinger 1c100498d4 AP_Math: use is_zero instead of defining our own epsilon 10 years ago
Siddharth Bharat Purohit b654b1c21b AP_Math: add inverse matrix to math library 10 years ago