Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::real_return< Ts > Struct Template Reference

Detailed Description

template<typename... Ts>
struct stan::real_return< Ts >

Provides a member type alias named type, the value of which is the least type under Stan's assignability relation that can be assigned a double and all of the base types of the specified arguments after removing qualifiers (const and volatile) and decaying (lvalue to rvalue by removing references) and array to pointer).

This type trait is used to calculate the return type of real-valued functions involving heterogeneous arguments.

Template Parameters
Tssequence of template parameter types
See also
return_type for a definition of the type ordering
base_type for definition of base type extraction

Definition at line 28 of file return_type.hpp.

#include <return_type.hpp>

Public Types

using type = double
 

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