From: Wolfgang Bangerth Date: Mon, 10 Apr 2023 20:21:00 +0000 (-0600) Subject: Minor updates to the ndarray documentation. X-Git-Tag: v9.5.0-rc1~344^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d6052ceb475f0cd80c5766dd5d452f08b73002;p=dealii.git Minor updates to the ndarray documentation. --- diff --git a/include/deal.II/base/ndarray.h b/include/deal.II/base/ndarray.h index 5d0250c6aa..cd5dbd690b 100644 --- a/include/deal.II/base/ndarray.h +++ b/include/deal.II/base/ndarray.h @@ -71,7 +71,7 @@ namespace internal /** * A (variadic template) type alias for conveniently defining multidimensional - * std::arrays + * std::arrays. * * The problem we try to address with the type alias is the following. * Suppose you want to create a multdimensional array of doubles of, for @@ -80,9 +80,9 @@ namespace internal * @code * double my_array[2][3][4] = { ... }; * @endcode - * Nowadays, there are a number of good reasons why using C-style arrays is - * usually discouraged (ranging from incompatibilities with STL functions - * requiring awkward wrappers, surprises when comparing for equality, etc.) + * There are a number of good reasons why using C-style arrays is + * generally discouraged (ranging from incompatibilities with STL functions + * requiring awkward wrappers, surprises when comparing for equality, etc.). * If you want to do the same, however, using the more modern (and * encouraged) `std::array` class, then you would have to declare * @code @@ -97,7 +97,7 @@ namespace internal * dealii::ndarray my_array = { ... }; * @endcode * - * @note dealii::ndarray is merely syntactic sugar in form of a + * @note dealii::ndarray is merely syntactic sugar in the form of a * type * alias * (`using` declaration). It is not a deal.II specific class, but merely a