Skip to content
Snippets Groups Projects
Commit 36ab082f authored by Federico Lolli's avatar Federico Lolli Committed by Federico Lolli
Browse files

[SVM] SVMConfig now takes std::array instead of Eigen::Vector

parent 9eaff4c0
No related branches found
No related tags found
1 merge request!224Draft: Sensor Fault Detection
......@@ -23,6 +23,7 @@
#pragma once
#include <Eigen/Dense>
#include <array>
namespace Boardcore
{
......@@ -32,12 +33,13 @@ class SVM
{
public:
using VectorD = Eigen::Vector<float, D>;
using ArrayD = std::array<float, D>;
struct SVMConfig
{
VectorD beta;
VectorD mu;
VectorD sigma;
ArrayD beta;
ArrayD mu;
ArrayD sigma;
float bias;
float scale;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment