|
Apollo 11.0
自动驾驶开放平台
|
Functions to compute integral. 更多...
#include <array>#include <functional>#include <utility>#include <vector>命名空间 | |
| namespace | apollo::common::math |
| apollo::common::math | |
| namespace | apollo |
| class register implement | |
| namespace | apollo::common |
| apollo::common | |
函数 | |
| double | apollo::common::math::IntegrateBySimpson (const std::vector< double > &func, const double dx, const std::size_t nsteps) |
| double | apollo::common::math::IntegrateByTrapezoidal (const std::vector< double > &func, const double dx, const std::size_t nsteps) |
| template<std::size_t N> | |
| std::pair< std::array< double, N >, std::array< double, N > > | apollo::common::math::GetGaussLegendrePoints () |
| Get the points and weights for different ordered Gauss-Legendre integration. | |
| template<> | |
| std::pair< std::array< double, 2 >, std::array< double, 2 > > | apollo::common::math::GetGaussLegendrePoints< 2 > () |
| template<> | |
| std::pair< std::array< double, 3 >, std::array< double, 3 > > | apollo::common::math::GetGaussLegendrePoints< 3 > () |
| template<> | |
| std::pair< std::array< double, 4 >, std::array< double, 4 > > | apollo::common::math::GetGaussLegendrePoints< 4 > () |
| template<> | |
| std::pair< std::array< double, 5 >, std::array< double, 5 > > | apollo::common::math::GetGaussLegendrePoints< 5 > () |
| template<> | |
| std::pair< std::array< double, 6 >, std::array< double, 6 > > | apollo::common::math::GetGaussLegendrePoints< 6 > () |
| template<> | |
| std::pair< std::array< double, 7 >, std::array< double, 7 > > | apollo::common::math::GetGaussLegendrePoints< 7 > () |
| template<> | |
| std::pair< std::array< double, 8 >, std::array< double, 8 > > | apollo::common::math::GetGaussLegendrePoints< 8 > () |
| template<> | |
| std::pair< std::array< double, 9 >, std::array< double, 9 > > | apollo::common::math::GetGaussLegendrePoints< 9 > () |
| template<> | |
| std::pair< std::array< double, 10 >, std::array< double, 10 > > | apollo::common::math::GetGaussLegendrePoints< 10 > () |
| template<std::size_t N> | |
| double | apollo::common::math::IntegrateByGaussLegendre (const std::function< double(double)> &func, const double lower_bound, const double upper_bound) |
| Compute the integral of a target single-variable function from a lower bound to an upper bound, by 5-th Gauss-Legendre method Given a target function and integral lower and upper bound, compute the integral approximation using 5th order Gauss-Legendre integration. | |
Functions to compute integral.
在文件 integral.h 中定义.