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

◆ divide_columns() [2/3]

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

Divides each column of a matrix by a scalar.

Template Parameters
T1Type of first matrix
T2Type of the divisor
Parameters
AMatrix to divide
divisorscalar to divide by
Returns
element-wise division of A by divisor.

Definition at line 56 of file divide_columns.hpp.