Skip to content

Commit 176ac16

Browse files
committed
[complex.numbers] Make whitespace and capitalization more consistent
1 parent 006f586 commit 176ac16

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

source/numerics.tex

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
template<class T> T norm(const complex<T>&);
308308

309309
template<class T> complex<T> conj(const complex<T>&);
310-
template <class T> complex<T> proj(const complex<T>&);
310+
template<class T> complex<T> proj(const complex<T>&);
311311
template<class T> complex<T> polar(const T&, const T& = 0);
312312

313313
// \ref{complex.transcendentals}, transcendentals:
@@ -325,9 +325,9 @@
325325
template<class T> complex<T> log (const complex<T>&);
326326
template<class T> complex<T> log10(const complex<T>&);
327327

328-
template<class T> complex<T> pow(const complex<T>&, const T&);
329-
template<class T> complex<T> pow(const complex<T>&, const complex<T>&);
330-
template<class T> complex<T> pow(const T&, const complex<T>&);
328+
template<class T> complex<T> pow (const complex<T>&, const T&);
329+
template<class T> complex<T> pow (const complex<T>&, const complex<T>&);
330+
template<class T> complex<T> pow (const T&, const complex<T>&);
331331

332332
template<class T> complex<T> sin (const complex<T>&);
333333
template<class T> complex<T> sinh (const complex<T>&);
@@ -1130,7 +1130,7 @@
11301130
\begin{itemdescr}
11311131
\pnum
11321132
\notes
1133-
the branch cuts are along the negative real axis.
1133+
The branch cuts are along the negative real axis.
11341134

11351135
\pnum
11361136
\returns
@@ -1152,7 +1152,7 @@
11521152
\begin{itemdescr}
11531153
\pnum
11541154
\notes
1155-
the branch cuts are along the negative real axis.
1155+
The branch cuts are along the negative real axis.
11561156

11571157
\pnum
11581158
\returns
@@ -1162,30 +1162,29 @@
11621162

11631163
\indexlibrary{\idxcode{pow}!\idxcode{complex}}%
11641164
\begin{itemdecl}
1165-
template<class T>
1166-
complex<T> pow(const complex<T>& x, const complex<T>& y);
1167-
template<class T> complex<T> pow (const complex<T>& x, const T& y);
1168-
template<class T> complex<T> pow (const T& x, const complex<T>& y);
1165+
template<class T> complex<T> pow(const complex<T>& x, const complex<T>& y);
1166+
template<class T> complex<T> pow(const complex<T>& x, const T& y);
1167+
template<class T> complex<T> pow(const T& x, const complex<T>& y);
11691168
\end{itemdecl}
11701169

11711170
\begin{itemdescr}
11721171
\pnum
11731172
\notes
1174-
the branch cuts are along the negative real axis.
1173+
The branch cuts are along the negative real axis.
11751174

11761175
\pnum
11771176
\returns
1178-
The complex power of base \tcode{x} raised to the \tcode{y}-th power,
1177+
The complex power of base \tcode{x} raised to the \tcode{y}$^\text{th}$ power,
11791178
defined as
1180-
\tcode{exp(y*log(x))}.
1179+
\tcode{exp(y * log(x))}.
11811180
The value returned for
1182-
\tcode{pow(0,0)}
1181+
\tcode{pow(0, 0)}
11831182
is implementation-defined.
11841183
\end{itemdescr}
11851184

11861185
\indexlibrary{\idxcode{sin}!\idxcode{complex}}%
11871186
\begin{itemdecl}
1188-
template<class T> complex<T> sin (const complex<T>& x);
1187+
template<class T> complex<T> sin(const complex<T>& x);
11891188
\end{itemdecl}
11901189

11911190
\begin{itemdescr}
@@ -1196,7 +1195,7 @@
11961195

11971196
\indexlibrary{\idxcode{sinh}!\idxcode{complex}}%
11981197
\begin{itemdecl}
1199-
template<class T> complex<T> sinh (const complex<T>& x);
1198+
template<class T> complex<T> sinh(const complex<T>& x);
12001199
\end{itemdecl}
12011200

12021201
\begin{itemdescr}
@@ -1207,13 +1206,13 @@
12071206

12081207
\indexlibrary{\idxcode{sqrt}!\idxcode{complex}}%
12091208
\begin{itemdecl}
1210-
template<class T> complex<T> sqrt (const complex<T>& x);
1209+
template<class T> complex<T> sqrt(const complex<T>& x);
12111210
\end{itemdecl}
12121211

12131212
\begin{itemdescr}
12141213
\pnum
12151214
\notes
1216-
the branch cuts are along the negative real axis.
1215+
The branch cuts are along the negative real axis.
12171216

12181217
\pnum
12191218
\returns
@@ -1225,7 +1224,7 @@
12251224

12261225
\indexlibrary{\idxcode{tan}!\idxcode{complex}}%
12271226
\begin{itemdecl}
1228-
template<class T> complex<T> tan (const complex<T>& x);
1227+
template<class T> complex<T> tan(const complex<T>& x);
12291228
\end{itemdecl}
12301229

12311230
\begin{itemdescr}
@@ -1236,7 +1235,7 @@
12361235

12371236
\indexlibrary{\idxcode{tanh}!\idxcode{complex}}%
12381237
\begin{itemdecl}
1239-
template<class T> complex<T> tanh (const complex<T>& x);
1238+
template<class T> complex<T> tanh(const complex<T>& x);
12401239
\end{itemdecl}
12411240

12421241
\begin{itemdescr}

0 commit comments

Comments
 (0)