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