![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
|
inline |
Return a std::vector whose i-th element is f(x[i], args...).
Additional arguments are shared across calls. If x is empty, the result is empty. The element type of the result is deduced from f.
| F | type of functor |
| T | type of input std::vector |
| Args | types of shared arguments |
| [in] | f | functor applied to each element |
| [in] | x | input std::vector |
| [in] | args | shared arguments passed to each call |