19 return std::vector<copp::Jet3>{
28 std::vector<double> samples{0.0, 0.5, 1.0};
33 std::cout <<
"dim = " << path.dim() <<
"\n";
34 std::cout <<
"q(0, 1) = " << out.
q(0, 1) <<
"\n";
35 std::cout <<
"dq(0, 1) = " << out.dq.value()(0, 1) <<
"\n";
36 std::cout <<
"ddq(0, 1) = " << out.ddq.value()(0, 1) <<
"\n";
37 std::cout <<
"dddq(0, 1) = " << out.dddq.value()(0, 1) <<
"\n";
static Path from_parametric(PathParametric parametric, double s_min, double s_max)
Build a path from a scalar-parametric formula.
PathDerivatives evaluate_up_to_3rd(Span< const double > s) const
Evaluate position, first derivative, second derivative, and third derivative.
Jet3 sin(Jet3 x) noexcept
Jet3 cos(Jet3 x) noexcept
Third-order forward-mode automatic-differentiation scalar.