Skip to content

Commit

Permalink
Update doxygen/contributor_help_pages/require_meta.md
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Bronder <Stevo15025@gmail.com>
  • Loading branch information
syclik and SteveBronder committed Apr 2, 2024
1 parent aaea3d8 commit 182cc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doxygen/contributor_help_pages/require_meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ set of function template specialization is untenable for many
functions in the Math library. For example, a single argument of the
function may take 6 distinct C++ types: `double`, `stan::math::var`,
`std::vector<double>`, `std::vector<stan::math::var>`,
`Eigen::Matrix<double, -1, 1>`, or `Eigen::Matrix<stan::math::var, -1,
1>`. For a 3-argument function, we would need to define 108 different
`Eigen::Matrix<double, -1, 1>`, `Eigen::Matrix<stan::math::var, -1,
1>`, or `stan::math::var_value<Eigen::Matrix<double, -1, -1>>`. For a 3-argument function, we would need to define 108 different
function template specializations to handle all the autodiff types.

In the Math library, we use a technique that allows the definition of
Expand Down

0 comments on commit 182cc29

Please sign in to comment.