Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/multiply.hpp>
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_all_not_st_var< Mat1, Mat2 > * = nullptr> | |
auto | stan::math::elt_multiply (const Mat1 &m1, const Mat2 &m2) |
Return the elementwise multiplication of the specified matrices. | |
template<typename Scalar1 , typename Scalar2 , require_all_stan_scalar_t< Scalar1, Scalar2 > * = nullptr> | |
auto | stan::math::elt_multiply (const Scalar1 &a, const Scalar2 &b) |
Return the elementwise multiplication of the specified scalars. | |
template<typename T1 , typename T2 , require_any_matrix_t< T1, T2 > * = nullptr, require_any_stan_scalar_t< T1, T2 > * = nullptr> | |
auto | stan::math::elt_multiply (const T1 &A, const T2 &B) |
Return specified matrix multiplied by specified scalar. | |