Stan Math Library  2.11.0
reverse mode automatic differentiation
is_constant_struct.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_META_IS_CONSTANT_STRUCT_HPP
2 #define STAN_MATH_PRIM_MAT_META_IS_CONSTANT_STRUCT_HPP
3 
7 
8 
9 namespace stan {
10 
11  template <typename T, int R, int C>
12  struct is_constant_struct<Eigen::Matrix<T, R, C> > {
14  };
15 
16  template <typename T>
17  struct is_constant_struct<Eigen::Block<T> > {
19  };
20 
21 }
22 #endif
23 
(Expert) Numerical traits for algorithmic differentiation variables.
Metaprogram to determine if a type has a base scalar type that can be assigned to type double...

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