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

◆ multiply() [9/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 Scal &  m,
const Mat &  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
Scaltype of scalar argument
Mattype of matrix argument
Parameters
cscalar argument
mmatrix argument
Returns
expression template evaluating to the product of the matrix and scalar arguments

Definition at line 65 of file multiply.hpp.