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

◆ divide_columns() [1/3]

template<typename T1 , typename T2 , typename = require_all_arithmetic_t<T1, T2>>
void stan::math::divide_columns ( matrix_cl< T1 > &  A,
const matrix_cl< T2 > &  B 
)
inline

Divides each column of a matrix by a vector.

Template Parameters
T1Type of first matrix
T2Type of second matrix
Parameters
Afirst matrix
BVector of elements to divide each column of A by element-wise.
Returns
element-wise division of A by B.
Exceptions
<code>std::invalid_argument</code>if the input matrices do not have matching dimensions

Definition at line 30 of file divide_columns.hpp.