mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
* Fix compilation error * Add implementation of pseudo-inverse The implementation is based on this publication: Courrieu, P. (2008). Fast Computation of Moore-Penrose Inverse Matrices, 8(2), 25–29. http://arxiv.org/abs/0804.4809 It is a fully templated implementation to guaranty type correctness. * Add tests for pseudoinverse * Apply suggestions from code review Co-Authored-By: Mathieu Bresciani <brescianimathieu@gmail.com> * Adapt fullRankCholesky tolerance to type * Add pseudoinverse test with effectiveness matrix * Fix coverage * Fix rebase issue * Fix SquareMatrix test, add null Matrix test
22 lines
460 B
C++
22 lines
460 B
C++
#pragma once
|
|
|
|
#include "stdlib_imports.hpp"
|
|
#ifdef __PX4_QURT
|
|
#include "dspal_math.h"
|
|
#endif
|
|
#include "helper_functions.hpp"
|
|
#include "Matrix.hpp"
|
|
#include "SquareMatrix.hpp"
|
|
#include "Slice.hpp"
|
|
#include "Vector.hpp"
|
|
#include "Vector2.hpp"
|
|
#include "Vector3.hpp"
|
|
#include "Euler.hpp"
|
|
#include "Dcm.hpp"
|
|
#include "Scalar.hpp"
|
|
#include "Quaternion.hpp"
|
|
#include "AxisAngle.hpp"
|
|
#include "LeastSquaresSolver.hpp"
|
|
#include "Dual.hpp"
|
|
#include "PseudoInverse.hpp"
|