Stan Math Library  2.14.0
reverse mode automatic differentiation
Public Types | List of all members
stan::scalar_type< T > Struct Template Reference

Metaprogram structure to determine the base scalar type of a template argument. More...

#include <scalar_type.hpp>

Public Types

typedef scalar_type_helper< is_vector< T >::value, T >::type type
 

Detailed Description

template<typename T>
struct stan::scalar_type< T >

Metaprogram structure to determine the base scalar type of a template argument.

This base class should be specialized for structured types.

Template Parameters
TType of object.

Definition at line 33 of file scalar_type.hpp.

Member Typedef Documentation

§ type

template<typename T>
typedef scalar_type_helper<is_vector<T>::value, T>::type stan::scalar_type< T >::type

Definition at line 34 of file scalar_type.hpp.


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

     [ Stan Home Page ] © 2011–2016, Stan Development Team.