Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/core/typedefs.hpp>
#include <stan/math/rev/fun/dot_product.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/rows_dot_product.hpp>
#include <type_traits>
Go to the source code of this file.
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. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename Mat1 , typename Mat2 , require_all_eigen_t< Mat1, Mat2 > * = nullptr, require_any_eigen_vt< is_var, Mat1, Mat2 > * = nullptr> | |
Eigen::Matrix< var, Mat1::RowsAtCompileTime, 1 > | stan::math::rows_dot_product (const Mat1 &v1, const Mat2 &v2) |
Returns the dot product of rows of the specified matrices. | |
template<typename Mat1 , typename Mat2 , require_all_matrix_t< Mat1, Mat2 > * = nullptr, require_any_var_matrix_t< Mat1, Mat2 > * = nullptr> | |
auto | stan::math::rows_dot_product (const Mat1 &v1, const Mat2 &v2) |
Returns the dot product of rows of the specified matrices. | |