|
libqe 0.2.5
QE C++ library
|
Integrated Euclidean distance between trajectory curves and lagged distance metrics. More...
#include <armadillo>#include <vector>#include <cmath>#include <algorithm>#include "trajectory.hpp"#include "linalg_fallback.hpp"Go to the source code of this file.
Classes | |
| struct | qe::GaussLegendreRule |
Namespaces | |
| namespace | qe |
Functions | |
| const GaussLegendreRule & | qe::get_gl_rule_32 () |
| Obtain exact 32-point Gauss-Legendre quadrature nodes and weights on [-1, 1] via Golub-Welsch. | |
| double | qe::integrated_curve_distance (const arma::vec &coeffs_ax, const arma::vec &coeffs_ay, const arma::vec &coeffs_bx, const arma::vec &coeffs_by, double t_start=0.0, double t_end=1.0) |
| Compute integrated Euclidean distance between two 2D parametric polynomial curves. | |
| double | qe::lagged_curve_distance (const arma::vec &coeffs_fol_x, const arma::vec &coeffs_fol_y, const arma::vec &coeffs_ldr_x, const arma::vec &coeffs_ldr_y, double lag=0.0) |
| Compute lagged curve distance: 1/(1-lag) * integral_{lag}^1 ||F_follower(t) - F_leader(t - lag)|| dt. | |
| arma::mat | qe::pairwise_trajectory_distance_matrix (const std::vector< arma::vec > &all_coeffs_x, const std::vector< arma::vec > &all_coeffs_y) |
| Compute pairwise integrated distance matrix across K polynomial trajectory curves. | |
Integrated Euclidean distance between trajectory curves and lagged distance metrics.