Added ellipsoid fit function

This commit is contained in:
dario
2024-12-14 11:15:48 +01:00
parent ff12f10559
commit 8f28b31f26
6 changed files with 51 additions and 15 deletions

View File

@@ -0,0 +1,24 @@
/*
* ellipsoid.hpp
*
* Created on: Dec 11, 2024
* Author: Dario
*/
#ifndef STA_MATH_LINALG_ELLIPSOID_HPP
#define STA_MATH_LINALG_ELLIPSOID_HPP
#include <cstdint>
namespace sta
{
namespace math
{
namespace linalg
{
void ellipsoid_fit(float* xs, float * ys, float* zs, uint16_t count);
} // namespace linalg
} // namespace math
} // namespace sta
#endif // STA_MATH_LINALG_ELLIPSOID_HPP

View File

@@ -61,8 +61,6 @@ namespace sta
Quaternion normalized();
Quaternion conjugate();
matrix toRotationMatrix();
public:
float x, y, z, w;
};