MathHelper.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Global includes
21 #include <cmath>
22 #include <vector>
23 
24 // Package includes
25 #include <Eigen/Core>
26 #include <Eigen/Geometry>
27 #include <Eigen/Eigenvalues>
28 
29 #include <boost/foreach.hpp>
30 #include <boost/shared_ptr.hpp>
31 
32 #include <asr_msgs/AsrObject.h>
33 
35 
40  class MathHelper {
41  public:
45  MathHelper();
46 
50  ~MathHelper();
51 
60  static void drawNormal(const Eigen::VectorXd& mean, const Eigen::MatrixXd& cov, unsigned int amount, std::vector<Eigen::VectorXd>& samples);
61 
70  static void calcHistogram(double lower, double upper, unsigned int buckets, std::vector<double> in, std::vector<std::pair<double, double>>& out);
71 
72  };
73 }
static void drawNormal(const Eigen::VectorXd &mean, const Eigen::MatrixXd &cov, unsigned int amount, std::vector< Eigen::VectorXd > &samples)
Definition: MathHelper.cpp:31
static void calcHistogram(double lower, double upper, unsigned int buckets, std::vector< double > in, std::vector< std::pair< double, double >> &out)
Definition: MathHelper.cpp:45


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54