Passing array of values as PARAM to cpp codelet

is there any way of passing multiple numbers in the same parameter? As I have 12 numerical parameters that are all floats, I was hoping to be able to pass them all in a single array, however defining as below in my .hpp file causes a lot of errors (my command line fills so much that I cannot scroll to the top of the error barrage). Am I merely using the wrong syntax, or is this something that is not possible within isaac?

PARAM(std::array<float, 12>, myarray, {1.0, …, 0.3});

Thank you in advance.
Kind regards,

Hi felix,
in the doc I found : Most often this is either double , int , bool , or std::string
so i’m not sure if it’s possible using an array but you surely can using a string, just convert your array to string using itoa for example,

Hi Planktos,
thanks, that should do the trick.

Kind regards,

Another way could be using vector 12f
Here is an example with 6d :
ISAAC_PARAM(Vector6d, prediction_noise_stddev, (MakeVector<double, 6>({0.05, 0.05, 0.35, 0.05, 1.00, 3.00})));
you need vectorxfproto to use 12 floats
so that would be :
ISAAC_PARAM(vectorxf, myarray, (MakeVector<float, 12>({0.05, 0.05, 0.35, 0.05, 1.00, 3.00,0.05, 0.05, 0.35, 0.05, 1.00, 3.00})));
Hope that will work !
King regards,