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

◆ multiply() [15/16]

template<typename T1 , typename T2 , require_not_matrix_t< T1 > * = nullptr, require_matrix_t< T2 > * = nullptr, require_return_type_t< is_var, T1, T2 > * = nullptr, require_not_row_and_col_vector_t< T1, T2 > * = nullptr>
auto stan::math::multiply ( const T1 &  A,
const T2 &  B 
)
inline

Return specified matrix multiplied by specified scalar where at least one input has a scalar type of a var_value.

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

Definition at line 140 of file multiply.hpp.