mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 21:43:34 +08:00
expm testing and fixes.
This commit is contained in:
+6
-1
@@ -14,7 +14,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "Vector.hpp"
|
||||
#include "matrix.hpp"
|
||||
|
||||
namespace matrix
|
||||
{
|
||||
@@ -175,6 +175,11 @@ public:
|
||||
return res;
|
||||
}
|
||||
|
||||
inline Matrix<Type, M, N> operator/(Type scalar) const
|
||||
{
|
||||
return (*this)*(1/scalar);
|
||||
}
|
||||
|
||||
Matrix<Type, M, N> operator+(Type scalar) const
|
||||
{
|
||||
Matrix<Type, M, N> res;
|
||||
|
||||
Reference in New Issue
Block a user