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

◆ multiply() [17/17]

template<typename T1 , typename T2 , require_matrix_t< T1 > * = nullptr, require_not_matrix_t< T2 > * = nullptr, require_any_st_var< T1, T2 > * = nullptr, require_not_complex_t< value_type_t< T1 > > * = nullptr, require_not_complex_t< value_type_t< T2 > > * = nullptr, require_not_row_and_col_vector_t< T1, T2 > * = nullptr>
auto stan::math::multiply ( T1 &&  A,
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 matrix or expression
T2type of the scalar
Parameters
Amatrix
Bscalar
Returns
product of matrix and scalar

Definition at line 195 of file multiply.hpp.