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

◆ multiply() [8/16]

template<typename Mat , typename Scal , require_any_complex_t< value_type_t< Mat >, Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_not_eigen_t< Scal > * = nullptr>
auto stan::math::multiply ( const Mat &  m,
Scal  c 
)
inline

Return the product of the specified matrix and scalar, one of which must have a complex value type.

The return type will be an expression template denoting a complex matrix.

Template Parameters
Mattype of matrix argument
Scaltype of scalar argument
Parameters
mmatrix argument
cscalar argument
Returns
expression template evaluating to the product of the matrix and scalar arguments

Definition at line 46 of file multiply.hpp.