Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/divide.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_divide (const Mat1 &m1, const Mat2 &m2) |
Return the elementwise division of the specified matrices. | |
template<typename Mat , typename Scal , require_matrix_t< Mat > * = nullptr, require_stan_scalar_t< Scal > * = nullptr> | |
auto | stan::math::elt_divide (const Mat &m, Scal s) |
Return the elementwise division of the specified matrix by the specified scalar. | |
template<typename Scal , typename Mat , require_stan_scalar_t< Scal > * = nullptr, require_eigen_t< Mat > * = nullptr> | |
auto | stan::math::elt_divide (Scal s, const Mat &m) |
Return the elementwise division of the specified scalar by the specified matrix. | |
template<typename Scal1 , typename Scal2 , require_all_stan_scalar_t< Scal1, Scal2 > * = nullptr> | |
auto | stan::math::elt_divide (Scal1 s1, Scal2 s2) |