Stan Math Library  2.20.0
reverse mode automatic differentiation
is_constant.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_ARR_META_IS_CONSTANT_HPP
2 #define STAN_MATH_PRIM_ARR_META_IS_CONSTANT_HPP
3 
5 #include <vector>
6 
7 namespace stan {
15 template <typename T>
16 struct is_constant<std::vector<T> > {
18 };
19 
20 } // namespace stan
21 #endif
Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the ...
Definition: is_constant.hpp:23

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