#ifndef filter_INC #define filter_INC #include #include #include 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 y; Matrix F; list X,Y; }; /* ----- end of class Filter ----- */ #endif /* ----- #ifndef filter_INC ----- */