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

◆ multiply() [5/17]

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

Return matrix multiplied by a scalar.

Template Parameters
T1type of the scalar
T2type of the matrix or expression
Parameters
Ascalar
Bmatrix
Returns
product of matrix and scalar

Definition at line 79 of file multiply.hpp.