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

◆ apply()

template<typename F , typename T >
static auto stan::math::apply_scalar_unary< F, T, require_floating_point_t< T > >::apply ( x)
inlinestatic

Apply the function specified by F to the specified argument.

This is defined through a direct application of F::fun(), which must be defined for double arguments.

Parameters
xArgument scalar.
Returns
Result of applying F to the scalar.

Definition at line 97 of file apply_scalar_unary.hpp.