![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/scal/fun/divide.hpp>
#include <vector>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T_x , typename T_v > | |
std::vector< Eigen::Matrix< typename return_type< T_x, T_v, double >::type, 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. More... | |