Automatic Differentiation
 
Loading...
Searching...
No Matches
is_constant.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::is_constant< T, typename >
 Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the C++ const sense). More...
 
struct  stan::is_constant< T, require_std_vector_t< T > >
 Defines a static member named value and sets it to true if the type of the elements in the provided std::vector is constant, false otherwise. More...
 
struct  stan::is_constant< T, require_eigen_t< T > >
 Defines a public enum named value and sets it to true if the type of the elements in the provided Eigen Matrix is constant, false otherwise. More...
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 

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., primitive types) and false otherwise.