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

Detailed Description

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

Template specialization for vectorized functions applying to Eigen matrix arguments.

Template Parameters
FType of function to apply.
TType 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.
 

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