Skip to content

Commit d0921c8

Browse files
committed
update docs
1 parent 79a929a commit d0921c8

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

stan/math/prim/fun/inv_logit.hpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct inv_logit_fun {
7474
};
7575

7676
/**
77-
* Vectorized version of inv_logit() for std::vector's containing ad types.
77+
* Vectorized version of inv_logit() for containers containing ad types.
7878
*
7979
* @tparam T type of std::vector
8080
* @param x std::vector
@@ -90,11 +90,10 @@ inline auto inv_logit(Container&& x) {
9090
}
9191

9292
/**
93-
* Vectorized version of inv_logit() for Eigen types.
93+
* Vectorized version of inv_logit() for containers with arithmetic scalar types.
9494
*
95-
* @tparam T A type of either `std::vector` whose inner type inherits from
96-
* `Eigen::DenseBase` or a type that directly inherits from `Eigen::DenseBase`.
97-
* The inner scalar type must not have a `var` scalar type.
95+
* @tparam T A type of either `std::vector` or a type that directly inherits from `Eigen::DenseBase`.
96+
* The inner scalar type must not have an auto diff scalar type.
9897
* @param x Eigen expression
9998
* @return Inverse logit applied to each value in x.
10099
*/

0 commit comments

Comments
 (0)