Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ divide_columns() [3/3]

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 
)
inline

Takes Stan data type vector[n] x[D] and divides column vector in x element-wise by the values in vec.

Template Parameters
T_xType of dividend
T_vScalar type of divisor
Parameters
xstd::vector of matrices
vecstd::vector of divisors
Exceptions
std::invalidargument if D != length of vector

Definition at line 25 of file divide_columns.hpp.