Stan Math Library
4.8.1
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 52 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 | |
static auto | apply (const T &x) |
Return the result of applying the function defined by the template parameter F to the specified matrix argument. | |