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

Detailed Description

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

Struct with static function for elementwise type promotion.

This specialization promotes scalar values of the same type.

Template Parameters
Ttype of elements

Definition at line 39 of file promote_elements.hpp.

#include <promote_elements.hpp>

Static Public Member Functions

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

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