def param_to_array(*param):
import warnings<EOL>warnings.warn("<STR_LIT>", DeprecationWarning)<EOL>assert len(param) > <NUM_LIT:0>, "<STR_LIT>"<EOL>if len(param) == <NUM_LIT:1>:<EOL><INDENT>return param[<NUM_LIT:0>].view(np.ndarray)<EOL><DEDENT>return [x.view(np.ndarray) for x in param]<EOL>
Convert an arbitrary number of parameters to :class:ndarray class objects.
This is for converting parameter objects to numpy arrays, when using
scipy.weave.inline routine.  In scipy.weave.blitz there is no automatic
array detection (even when the array inherits from :class:ndarray)