Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <traits.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 138 of file traits.hpp.

Member Typedef Documentation

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

Definition at line 139 of file traits.hpp.


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

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