24 #ifndef COM_DAFER45_TBTK_PARAMETRIZED_LINE
25 #define COM_DAFER45_TBTK_PARAMETRIZED_LINE
27 #include "TBTK/Field.h"
29 #include <initializer_list>
38 class ParametrizedLine :
public Field<std::vector<double>, double>{
42 std::initializer_list<double> start,
43 std::initializer_list<double> direction
48 const std::vector<double> &start,
49 const std::vector<double> &direction
53 virtual std::vector<double> operator()(
54 std::initializer_list<double> lambda
58 const std::vector<double> operator()(
double lambda)
const;
61 std::vector<double> start;
64 std::vector<double> direction;
67 inline const std::vector<double> ParametrizedLine::operator()(
70 return ParametrizedLine::operator()({lambda});