I would like to convert
typedef double (*Function)(double s[4]);
double f1 (double x[N]) {return x[0]*x[1];}
Function t = f1;
to something like this:
typedef double (*Function)(double s[4]);
Function t = ({ return x[0]*x[1];});
which returns a "void value not ignored as it ought to be" error. How can I make this work?