clad
clad copied to clipboard
Add support for vector of points
Support double f(double*, unsigned numElements); The user should be able to specify the independent variable from a given array of variables.
Also: double f(Vec v);
where Vec is structure or class for example:
struct Vec { double x, y, z; //... }
Add tests such as:
double f1(double* pts, size_t numElements) {...}
double f2(std::vector<double> pts) {...}
double f3(iterator begin, iterator end) {...}