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

◆ multiply() [6/17]

template<typename T1 , typename T2 , require_stan_scalar_t< T2 > * = nullptr, require_all_nonscalar_prim_or_rev_kernel_expression_t< T1 > * = nullptr, require_any_var_t< T1, T2 > * = nullptr>
auto stan::math::multiply ( const T1 &  A,
const T2 &  B 
)
inline

Return matrix multiplied by a scalar.

Template Parameters
T1type of the matrix or expression
T2type of the scalar
Parameters
Amatrix
Bscalar
Returns
product of matrix and scalar

Definition at line 104 of file multiply.hpp.