File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments