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
v1First array.
v2Second array.
lengthLength of both arrays.

Definition at line 39 of file dot_product.hpp.