Stan Math Library  2.20.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 T 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 16 of file scalar_type.hpp.

Member Typedef Documentation

◆ type

template<typename T>
typedef T stan::scalar_type< T >::type

Definition at line 17 of file scalar_type.hpp.


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

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