mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:03:34 +08:00
Added vector2.
This commit is contained in:
@@ -79,7 +79,7 @@ SquareMatrix<Type, M> diag(Vector<Type, M> d) {
|
||||
}
|
||||
|
||||
template<typename Type, size_t M>
|
||||
SquareMatrix<Type, M> expm(const SquareMatrix<Type, M> & A, size_t order=5)
|
||||
SquareMatrix<Type, M> expm(const Matrix<Type, M, M> & A, size_t order=5)
|
||||
{
|
||||
SquareMatrix<Type, M> res;
|
||||
SquareMatrix<Type, M> A_pow = A;
|
||||
|
||||
Reference in New Issue
Block a user