Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ apply()

template<typename F , typename T >
static auto stan::math::apply_scalar_unary< F, std::vector< T > >::apply ( const std::vector< T > &  x)
inlinestatic

Apply the function specified by F elementwise to the specified argument.

This is defined recursively through this class applied to elements of type T.

Parameters
xArgument container.
Returns
Elementwise application of F to the elements of the container.

Definition at line 177 of file apply_scalar_unary.hpp.