search for: parameter_list

Displaying 1 result from an estimated 1 matches for "parameter_list".

2013 Jan 25
2
Pass vector as multiple parameters (as in python f(*x))
Hi, I want to know if it's possible to pass a vector v=c(x,y,...) to a function f(x,y,...) so that each vector element corresponds to a formal argument of the function. For python programmers: f(*v). Specifically, what I'm trying to achieve is: given a list of coordinates l=list(c(x1,y1,z1), c(x2,y2,z2),...) I would like to obtain the corresponding elements in some array A (3-dim in this