@@ -94,7 +94,7 @@ class CwiseNullaryOp : public internal::dense_xpr_base<CwiseNullaryOp<NullaryOp,
9494 * the returned matrix. Must be compatible with this MatrixBase type.
9595 *
9696 * This variant is meant to be used for dynamic-size matrix types. For fixed-size types,
97- * it is redundant to pass \a rows and \a cols as arguments, so Zero( ) should be used
97+ * it is redundant to pass \a rows and \a cols as arguments, so NullaryExpr(const CustomNullaryOp& ) should be used
9898 * instead.
9999 *
100100 * The template parameter \a CustomNullaryOp is the type of the functor.
@@ -121,7 +121,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
121121 * \only_for_vectors
122122 *
123123 * This variant is meant to be used for dynamic-size vector types. For fixed-size types,
124- * it is redundant to pass \a size as argument, so Zero( ) should be used
124+ * it is redundant to pass \a size as argument, so NullaryExpr(const CustomNullaryOp& ) should be used
125125 * instead.
126126 *
127127 * The template parameter \a CustomNullaryOp is the type of the functor.
@@ -174,7 +174,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
174174 * the returned matrix. Must be compatible with this DenseBase type.
175175 *
176176 * This variant is meant to be used for dynamic-size matrix types. For fixed-size types,
177- * it is redundant to pass \a rows and \a cols as arguments, so Zero( ) should be used
177+ * it is redundant to pass \a rows and \a cols as arguments, so Constant(const Scalar& ) should be used
178178 * instead.
179179 *
180180 * The template parameter \a CustomNullaryOp is the type of the functor.
@@ -195,7 +195,7 @@ DenseBase<Derived>::Constant(Index rows, Index cols, const Scalar& value) {
195195 * \only_for_vectors
196196 *
197197 * This variant is meant to be used for dynamic-size vector types. For fixed-size types,
198- * it is redundant to pass \a size as argument, so Zero( ) should be used
198+ * it is redundant to pass \a size as argument, so Constant(const Scalar& ) should be used
199199 * instead.
200200 *
201201 * The template parameter \a CustomNullaryOp is the type of the functor.
0 commit comments