Skip to content

Commit 2ceb760

Browse files
committed
[numarray] Use "compound assignment". Fix missing title in [gslice.array.comp.assign].
Signed-off-by: FrankHB <[email protected]>
1 parent 74a404b commit 2ceb760

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/numerics.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6598,7 +6598,7 @@
65986598
In particular, an implementation shall allow a
65996599
\tcode{valarray<T>}
66006600
to be constructed from such replacement types and shall allow assignments
6601-
and computed assignments of such types to
6601+
and compound assignments of such types to
66026602
\tcode{valarray<T>},
66036603
\tcode{slice_array<T>},
66046604
\tcode{gslice_array<T>},
@@ -6668,7 +6668,7 @@
66686668
valarray operator~() const;
66696669
valarray<bool> operator!() const;
66706670

6671-
// \ref{valarray.cassign} computed assignment:
6671+
// \ref{valarray.cassign} compound assignment:
66726672
valarray& operator*= (const T&);
66736673
valarray& operator/= (const T&);
66746674
valarray& operator%= (const T&);
@@ -7238,7 +7238,7 @@
72387238
applying the indicated operator to the corresponding element of the array.
72397239
\end{itemdescr}
72407240

7241-
\rSec3[valarray.cassign]{\tcode{valarray} computed assignment}
7241+
\rSec3[valarray.cassign]{\tcode{valarray} compound assignment}
72427242

72437243
\indexlibrary{\idxcode{operator*=}!\idxcode{valarray}}%
72447244
\indexlibrary{\idxcode{operator/=}!\idxcode{valarray}}%
@@ -7280,11 +7280,11 @@
72807280
If the array and the
72817281
argument array do not have the same length, the behavior is undefined.%
72827282
\indextext{undefined}
7283-
The appearance of an array on the left-hand side of a computed assignment
7283+
The appearance of an array on the left-hand side of a compound assignment
72847284
does \tcode{not} invalidate references or pointers.
72857285

72867286
\pnum
7287-
If the value of an element in the left-hand side of a valarray computed
7287+
If the value of an element in the left-hand side of a valarray compound
72887288
assignment operator depends on the value of another element in that left
72897289
hand side, the resulting behavior is undefined.
72907290
\end{itemdescr}
@@ -7335,7 +7335,7 @@
73357335
The array is then returned by reference.
73367336

73377337
\pnum
7338-
The appearance of an array on the left-hand side of a computed assignment
7338+
The appearance of an array on the left-hand side of a compound assignment
73397339
does
73407340
\textit{not}
73417341
invalidate references or pointers to the elements of the array.
@@ -7945,7 +7945,7 @@
79457945
object refers.
79467946
\end{itemdescr}
79477947

7948-
\rSec3[slice.arr.comp.assign]{\tcode{slice_array} computed assignment}
7948+
\rSec3[slice.arr.comp.assign]{\tcode{slice_array} compound assignment}
79497949

79507950
\indexlibrary{\idxcode{operator*=}!\idxcode{slice_array}}%
79517951
\indexlibrary{\idxcode{operator/=}!\idxcode{slice_array}}%
@@ -7974,7 +7974,7 @@
79747974

79757975
\begin{itemdescr}
79767976
\pnum
7977-
These computed assignments have reference semantics, applying the
7977+
These compound assignments have reference semantics, applying the
79787978
indicated operation to the elements of the argument array
79797979
and selected elements of the
79807980
\tcode{valarray<T>}
@@ -8233,7 +8233,7 @@
82338233
refers.
82348234
\end{itemdescr}
82358235

8236-
\rSec3[gslice.array.comp.assign]{\tcode{gslice_array}}
8236+
\rSec3[gslice.array.comp.assign]{\tcode{gslice_array} compound assignment}
82378237

82388238
\indexlibrary{\idxcode{operator*=}!\idxcode{gslice_array}}%
82398239
\indexlibrary{\idxcode{operator/=}!\idxcode{gslice_array}}%
@@ -8262,7 +8262,7 @@
82628262

82638263
\begin{itemdescr}
82648264
\pnum
8265-
These computed assignments have reference semantics, applying the
8265+
These compound assignments have reference semantics, applying the
82668266
indicated operation to the elements of the argument array and selected
82678267
elements of the
82688268
\tcode{valarray<T>}
@@ -8363,7 +8363,7 @@
83638363
object to which it refers.
83648364
\end{itemdescr}
83658365

8366-
\rSec3[mask.array.comp.assign]{\tcode{mask_array} computed assignment}
8366+
\rSec3[mask.array.comp.assign]{\tcode{mask_array} compound assignment}
83678367

83688368
\indexlibrary{\idxcode{operator*=}!\idxcode{mask_array}}%
83698369
\indexlibrary{\idxcode{operator/=}!\idxcode{mask_array}}%
@@ -8392,7 +8392,7 @@
83928392

83938393
\begin{itemdescr}
83948394
\pnum
8395-
These computed assignments have reference semantics, applying the
8395+
These compound assignments have reference semantics, applying the
83968396
indicated operation to the elements of the argument array and selected elements
83978397
of the
83988398
\tcode{valarray<T>}
@@ -8508,7 +8508,7 @@
85088508
\exitexample
85098509
\end{itemdescr}
85108510

8511-
\rSec3[indirect.array.comp.assign]{\tcode{indirect_array} computed assignment}
8511+
\rSec3[indirect.array.comp.assign]{\tcode{indirect_array} compound assignment}
85128512

85138513
\indexlibrary{\idxcode{operator*=}!\idxcode{indirect_array}}%
85148514
\indexlibrary{\idxcode{operator*=}!\idxcode{indirect_array}}%
@@ -8539,7 +8539,7 @@
85398539

85408540
\begin{itemdescr}
85418541
\pnum
8542-
These computed assignments have reference semantics, applying the indicated
8542+
These compound assignments have reference semantics, applying the indicated
85438543
operation to the elements of the argument array and selected elements of the
85448544
\tcode{valarray<T>}
85458545
object to which the

0 commit comments

Comments
 (0)