Drake
piecewise_polynomial_base.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
5 #include <Eigen/Core>
6 
8 
10  public:
11  explicit PiecewisePolynomialBase(std::vector<double> const& breaks);
12 
13  virtual ~PiecewisePolynomialBase();
14 
15  virtual int getSegmentPolynomialDegree(int segment_number,
16  Eigen::Index row = 0,
17  Eigen::Index col = 0) const = 0;
18 
19  int getNumberOfCoefficients(int segment_number, Eigen::Index row = 0,
20  Eigen::Index col = 0) const;
21 
22  int getTotalNumberOfCoefficients(Eigen::Index row = 0,
23  Eigen::Index col = 0) const;
24 
25  protected:
27 };
virtual ~PiecewisePolynomialBase()
Definition: piecewise_polynomial_base.cc:17
Definition: piecewise_function.h:8
virtual int getSegmentPolynomialDegree(int segment_number, Eigen::Index row=0, Eigen::Index col=0) const =0
PiecewisePolynomialBase()
Definition: piecewise_polynomial_base.cc:13
int getTotalNumberOfCoefficients(Eigen::Index row=0, Eigen::Index col=0) const
Definition: piecewise_polynomial_base.cc:27
std::vector< double > breaks
Definition: piecewise_function.h:10
int getNumberOfCoefficients(int segment_number, Eigen::Index row=0, Eigen::Index col=0) const
Definition: piecewise_polynomial_base.cc:21
Definition: piecewise_polynomial_base.h:9