1#ifndef STAN_MATH_PRIM_FUNCTOR_ALGEBRA_SOLVER_ADAPTER_HPP
2#define STAN_MATH_PRIM_FUNCTOR_ALGEBRA_SOLVER_ADAPTER_HPP
20 template <
typename T1,
typename... T2>
21 auto operator()(
const T1& x, std::ostream* msgs, T2&&... args)
const {
22 return f_(x, args..., msgs);
auto operator()(const T1 &x, std::ostream *msgs, T2 &&... args) const
algebra_solver_adapter(const F &f)
Adapt the non-variadic algebra_solver_newton and algebra_solver_powell arguemts to the variadic algeb...