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

◆ divide() [7/8]

template<typename Scalar , typename Mat , require_matrix_t< Mat > * = nullptr, require_stan_scalar_t< Scalar > * = nullptr, require_all_st_var_or_arithmetic< Scalar, Mat > * = nullptr, require_any_st_var< Scalar, Mat > * = nullptr>
auto stan::math::divide ( Scalar  c,
const Mat &  m 
)
inline

Return scalar divided by matrix.

Template Parameters
MatEither a type inheriting from EigenBase with a scalar type of var or a var_value<T> with type T inheriting from EigenBase.
Parameters
[in]mspecified matrix or expression
[in]cspecified scalar
Returns
matrix divided by the scalar

Definition at line 170 of file operator_division.hpp.