![]() |
Stan Math Library
5.1.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/as_array_or_scalar.hpp>#include <vector>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 T_x , typename T_v > | |
| std::vector< Eigen::Matrix< return_type_t< T_x, T_v, double >, Eigen::Dynamic, 1 > > | stan::math::divide_columns (const std::vector< Eigen::Matrix< T_x, Eigen::Dynamic, 1 > > &x, const std::vector< T_v > &vec) |
| Takes Stan data type vector[n] x[D] and divides column vector in x element-wise by the values in vec. | |