Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ multiply() [12/17]

template<typename RowVec , typename ColVec , require_not_var_t< return_type_t< RowVec, ColVec > > * = nullptr, require_eigen_row_and_col_t< RowVec, ColVec > * = nullptr>
auto stan::math::multiply ( const RowVec &  rv,
const ColVec &  v 
)
inline

Return the scalar product of the specified row vector and specified column vector.

The return is the same as the dot product. The two vectors must be the same size.

Template Parameters
RowVectype of the row vector
ColVectype of the column vector
Parameters
rvrow vector
vcolumn vector
Returns
scalar result of multiplying row vector by column vector
Exceptions
<code>std::invalid_argument</code>if rv and v are not the same size

Definition at line 150 of file multiply.hpp.