![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <vector>#include <boost/utility/enable_if.hpp>#include <boost/type_traits.hpp>#include <stan/math/matrix/Eigen.hpp>#include <stan/math/matrix/typedefs.hpp>#include <stan/math/error_handling/matrix/check_vector.hpp>#include <stan/math/error_handling/matrix/check_matching_sizes.hpp>#include <stan/math/functions/value_of.hpp>#include <stan/agrad/rev/var.hpp>#include <stan/agrad/rev/vari.hpp>#include <stan/agrad/rev/matrix/typedefs.hpp>#include <stan/agrad/rev/functions/value_of.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| stan::agrad | |
| Function gradients via reverse-mode automatic differentiation. | |
Functions | |
| template<typename T1 , int R1, int C1, typename T2 , int R2, int C2> | |
| boost::enable_if_c < boost::is_same< T1, var > ::value||boost::is_same< T2, var >::value, var >::type | stan::agrad::dot_product (const Eigen::Matrix< T1, R1, C1 > &v1, const Eigen::Matrix< T2, R2, C2 > &v2) |
| Returns the dot product. More... | |
| template<typename T1 , typename T2 > | |
| boost::enable_if_c < boost::is_same< T1, var > ::value||boost::is_same< T2, var >::value, var >::type | stan::agrad::dot_product (const T1 *v1, const T2 *v2, size_t length) |
| Returns the dot product. More... | |
| template<typename T1 , typename T2 > | |
| boost::enable_if_c < boost::is_same< T1, var > ::value||boost::is_same< T2, var >::value, var >::type | stan::agrad::dot_product (const std::vector< T1 > &v1, const std::vector< T2 > &v2) |
| Returns the dot product. More... | |
| template<typename T1 , int R1, int C1, typename T2 , int R2, int C2> | |
| boost::enable_if_c < boost::is_same< T1, var > ::value||boost::is_same< T2, var >::value, Eigen::Matrix < var, 1, C1 > >::type | stan::agrad::columns_dot_product (const Eigen::Matrix< T1, R1, C1 > &v1, const Eigen::Matrix< T2, R2, C2 > &v2) |
| template<typename T1 , int R1, int C1, typename T2 , int R2, int C2> | |
| boost::enable_if_c < boost::is_same< T1, var > ::value||boost::is_same< T2, var >::value, Eigen::Matrix < var, R1, 1 > >::type | stan::agrad::rows_dot_product (const Eigen::Matrix< T1, R1, C1 > &v1, const Eigen::Matrix< T2, R2, C2 > &v2) |
| size_t length_ |
Definition at line 39 of file dot_product.hpp.
| dot_product_store_type<T1>::type v1_ |
Definition at line 37 of file dot_product.hpp.
| dot_product_store_type<T2>::type v2_ |
Definition at line 38 of file dot_product.hpp.