Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::apply_scalar_unary< F, T, require_floating_point_t< T > > Struct Template Reference

Detailed Description

template<typename F, typename T>
struct stan::math::apply_scalar_unary< F, T, require_floating_point_t< T > >

Template specialization for vectorized functions applying to double arguments.

Template Parameters
FType of function defining static apply function.

Definition at line 82 of file apply_scalar_unary.hpp.

#include <apply_scalar_unary.hpp>

Public Types

using return_t = std::decay_t< decltype(F::fun(std::declval< T >()))>
 The return type, double.
 

Static Public Member Functions

static auto apply (T x)
 Apply the function specified by F to the specified argument.
 

The documentation for this struct was generated from the following file: