summaryrefslogtreecommitdiff
path: root/src/filter.h
blob: fdd777731073b25b40c12a725feae9dd51bed372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef  filter_INC
#define  filter_INC

#include <Eigen/Dense>
#include <iostream>
#include <list>

using Eigen::Dynamic;
using Eigen::Matrix;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using Eigen::Vector3d;
using std::list;

/*
 * =====================================================================================
 *        Class:  Filter
 *  Description:  
 * =====================================================================================
 */
class Filter
{
    public:
        /* ====================  LIFECYCLE     ======================================= */
        Filter (const VectorXd &b, const VectorXd &a);                             /* constructor */

        /* ====================  ACCESSORS     ======================================= */
        MatrixXd listToMatrix();

        /* ====================  MUTATORS      ======================================= */

        /* ====================  OPERATORS     ======================================= */
        Vector3d update( const Vector3d &x);

    protected:
        /* ====================  METHODS       ======================================= */

        /* ====================  DATA MEMBERS  ======================================= */

    private:
        /* ====================  METHODS       ======================================= */

        /* ====================  DATA MEMBERS  ======================================= */
        Matrix<double, Dynamic, 3> y;
        Matrix<double,Dynamic,1> F;
        list<Vector3d> X,Y;

}; /* -----  end of class Filter  ----- */

#endif   /* ----- #ifndef filter_INC  ----- */