Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
add()
[6/15]
template<typename Scal , typename Mat ,
require_stan_scalar_t
< Scal > * = nullptr,
require_eigen_t
< Mat > * = nullptr,
require_all_not_st_var
< Scal, Mat > * = nullptr>
auto stan::math::add
(
const Scal
c
,
const Mat &
m
)
inline
Return the sum of the specified scalar and specified matrix.
Template Parameters
Scal
type of the scalar
Mat
type of the matrix or expression
Parameters
c
Scalar.
m
Matrix.
Returns
The scalar plus the matrix.
Definition at line
76
of file
add.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.