33 template<
class T,
class S,
class Lambda>
34 vector<T> eval(
const vector<S>& in, Lambda func,
int iter,
float range=1.0){
37 for (
int j=0;j<iter;++j){
38 float t = range*(float)j/iter;
39 out.push_back( func(c,t) );
48 template<
class T,
class Lambda,
class S,
class ... Args>
49 vector<T> fmap(Lambda func,
const vector<S>& in, Args ... args){
52 out.push_back( func(c,args...) );
core namespaced operations that are metric-agnostic
the versor library namespace
Definition: vsr_algebra.h:29