From f8b0a6a97720df6de5cdf556c2961d052c4fe4dc Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Sat, 5 Dec 2015 01:10:07 -0800 Subject: [PATCH] AP_Math: compiler warnings - undeclared function --- libraries/AP_Math/AP_Math.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libraries/AP_Math/AP_Math.h b/libraries/AP_Math/AP_Math.h index d57dc92b7b..7cae64d702 100644 --- a/libraries/AP_Math/AP_Math.h +++ b/libraries/AP_Math/AP_Math.h @@ -103,6 +103,18 @@ uint32_t get_distance_cm(const struct Location &loc1, const struc // return bearing in centi-degrees between two locations int32_t get_bearing_cd(const struct Location &loc1, const struct Location &loc2); +// return determinant of square matrix +float detnxn(const float C[], const uint8_t n); + +// Output inverted nxn matrix when returns true, otherwise matrix is Singular +bool inversenxn(const float x[], float y[], const uint8_t n); + +// invOut is an inverted 4x4 matrix when returns true, otherwise matrix is Singular +bool inverse3x3(float m[], float invOut[]); + +// invOut is an inverted 3x3 matrix when returns true, otherwise matrix is Singular +bool inverse4x4(float m[],float invOut[]); + // see if location is past a line perpendicular to // the line between point1 and point2. If point1 is // our previous waypoint and point2 is our target waypoint