Stan Math Library
5.1.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
dot_product()
[4/6]
template<typename Scalar1 , typename Scalar2 ,
require_all_stan_scalar_t
< Scalar1, Scalar2 > * = nullptr,
require_all_not_var_t
< Scalar1, Scalar2 > * = nullptr>
auto stan::math::dot_product
(
const Scalar1 *
v1
,
const Scalar2 *
v2
,
size_t
length
)
inline
Returns the dot product of the specified arrays.
Parameters
v1
First array.
v2
Second array.
length
Length of both arrays.
Definition at line
39
of file
dot_product.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.