Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Typedefs
is_constant.hpp File Reference
#include <stan/math/prim/scal/meta/conjunction.hpp>
#include <type_traits>

Go to the source code of this file.

Classes

struct  stan::is_constant< T >
 Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the C++ const sense). More...
 

Namespaces

 stan
 

Typedefs

template<typename... T>
using stan::is_constant_all = math::conjunction< is_constant< T >... >
 Metaprogram defining an enum value which is true if all of the type parameters are constant (i.e., primtive types) and false otherwise. More...
 

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