Stan Math Library
5.1.0
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
T1
type of the scalar
T2
type of the matrix or expression
Parameters
A
scalar
B
matrix
Returns
product of matrix and scalar
Definition at line
79
of file
multiply.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.