Stan Math Library  2.11.0
reverse mode automatic differentiation
OperandsAndPartials.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_META_OPERANDSANDPARTIALS_HPP
2 #define STAN_MATH_PRIM_SCAL_META_OPERANDSANDPARTIALS_HPP
3 
6 
7 
8 namespace stan {
9  namespace math {
10 
34  template<typename T1 = double, typename T2 = double, typename T3 = double,
35  typename T4 = double, typename T5 = double, typename T6 = double,
36  typename T_return_type
45 
56  OperandsAndPartials(const T1& x1 = 0, const T2& x2 = 0,
57  const T3& x3 = 0, const T4& x4 = 0,
58  const T5& x5 = 0, const T6& x6 = 0) { }
59 
67  T_return_type
68  value(double value) {
69  return value;
70  }
71  };
72 
73  }
74 }
75 #endif
VectorView< T_return_type, false, true > d_x2
OperandsAndPartials(const T1 &x1=0, const T2 &x2=0, const T3 &x3=0, const T4 &x4=0, const T5 &x5=0, const T6 &x6=0)
Constructor.
T_return_type value(double value)
Returns a T_return_type with the value specified with the partial derivatves.
VectorView< T_return_type, false, true > d_x6
boost::math::tools::promote_args< typename scalar_type< T1 >::type, typename scalar_type< T2 >::type, typename scalar_type< T3 >::type, typename scalar_type< T4 >::type, typename scalar_type< T5 >::type, typename scalar_type< T6 >::type >::type type
Definition: return_type.hpp:27
This class builds partial derivatives with respect to a set of operands.
VectorView< T_return_type, false, true > d_x3
VectorView< T_return_type, false, true > d_x5
VectorView< T_return_type, false, true > d_x1
VectorView< T_return_type, false, true > d_x4

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