Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::promote_elements< T, S > Struct Template Reference

Detailed Description

template<typename T, typename S>
struct stan::math::promote_elements< T, S >

Struct with static function for elementwise type promotion.

This base implementation promotes one scalar value to another.

Template Parameters
Ttype of promoted element
Stype of input element, must be assignable to T

Definition at line 21 of file promote_elements.hpp.

#include <promote_elements.hpp>

Static Public Member Functions

static T promote (const S &u)
 Return input element.
 

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