![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
Template specialization for vectorized functions applying to Eigen matrix arguments.
| F | Type of function to apply. |
| T | Type of argument to which function is applied. |
Definition at line 53 of file apply_scalar_unary.hpp.
#include <apply_scalar_unary.hpp>
Public Types | |
| using | return_t = std::decay_t< decltype(apply_scalar_unary< F, T >::apply(std::declval< T >()))> |
| Return type for applying the function elementwise to a matrix expression template of type T. | |
Static Public Member Functions | |
| template<typename TT > | |
| static auto | apply (TT &&x) |
| Return the result of applying the function defined by the template parameter F to the specified matrix argument. | |