| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

  T | Type of object.

Definition at line 33 of file scalar_type.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 34 of file scalar_type.hpp.

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

- stan/math/prim/scal/meta/scalar_type.hpp

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