stan-dev / math

The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
724 stars 183 forks source link

variadic higher order functions #2210

Open bbbales2 opened 3 years ago

bbbales2 commented 3 years ago

Description

This is an issue for making variadic forms of the other higher order functions (similar to #1642)

Current Version:

v3.3.0

charlesm93 commented 1 year ago

Examining the code, it looks like algebra_solver and algebra_solver_newton have variadic arguments (@jgaeb implemented this a bit ago).

That said I can't find the issue nor the PR where these changes were made. And it doesn't look like these changes made it all the way to the Stan language.

nhuurre commented 1 year ago

Algebra solvers were made variadic as a side effect of #2421 but that has not been exposed to the Stan language.