Quick math-library design question: some of the math library hypergeometric functions (e.g.-F32) provide a result via a return value, some of them (grad_2F1) provide a result through an output argument passed as reference (T&), and some (grad_F32) provde the result through an output argument passed as pointer to array (grad_F32 writes to a six-value array).
I can standardize these. What’s the policy for scalar results? What about when there are multiple results?
I really don’t care, I just don’t want to have to dig through the rest of the math library and try to infer given that some of our code has been updated to current practices and some hasn’t.