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

◆ multiply() [7/17]

template<typename Mat , typename Scal , require_stan_scalar_t< Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_all_not_st_var< Scal, Mat > * = nullptr, require_all_not_complex_t< Scal, value_type_t< Mat > > * = nullptr>
auto stan::math::multiply ( Mat &&  m,
Scal  c 
)
inline

Return specified matrix multiplied by specified scalar.

Template Parameters
Mattype of the matrix or expression
Scaltype of the scalar
Parameters
mmatrix
cscalar
Returns
product of matrix and scalar

Definition at line 28 of file multiply.hpp.