Andrew Johnson
Andrew Johnson
If we add a specialisation using `apply_scalar_binary`: ```cpp template inline auto add(const T1& a, const T2& b) { return apply_scalar_binary( a, b, [](const auto& c, const auto& d) { return...
I don't think we would expose the `grad_` functions, since they would have to be rewritten or wrapped to be able to be used in the Stan language (since they...
I see what you mean. In that case it would probably better to be completely explicit: `hypergeometric_pFq`, since it's it not much more verbose
I really like this! Do we need to be concerned that Tensor is in the unsupported modules?
Once the `2F1` is in, I'll also be working these up (if you haven't started already!). Since the `gamma_p_inv` and `gamma_q_inv` gradients involve a $_2F_2(a,a; a+1,a+1)$ call, which we can...
I'm going to throw my hat in the ring and say that's probably a little early for this change. R3.x is still used as the 'stable' default version to install...
Neat! I'll do some testing locally and open a PR
Your bitfield magic seems to work like a charm. I'll finish out running all of the OpenCL tests locally to make sure that the integrated implementation doesn't have any hidden...
Ah cool. How does stanc3 handle the ternary operator? I was thinking that the vectorised `if_else` would allow us to have vectorised ternary expressions as well
Sounds good, will do!