Skip to content

Commit 7cb3354

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

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

source/numerics.tex

Lines changed: 16 additions & 16 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
@@ -1171,21 +1171,21 @@
11711171
\begin{itemdescr}
11721172
\pnum
11731173
\notes
1174-
the branch cuts are along the negative real axis.
1174+
The branch cuts are along the negative real axis.
11751175

11761176
\pnum
11771177
\returns
1178-
The complex power of base \tcode{x} raised to the \tcode{y}-th power,
1178+
The complex power of base \tcode{x} raised to the \tcode{y}$^\text{th}$ power,
11791179
defined as
1180-
\tcode{exp(y*log(x))}.
1180+
\tcode{exp(y * log(x))}.
11811181
The value returned for
1182-
\tcode{pow(0,0)}
1182+
\tcode{pow(0, 0)}
11831183
is implementation-defined.
11841184
\end{itemdescr}
11851185

11861186
\indexlibrary{\idxcode{sin}!\idxcode{complex}}%
11871187
\begin{itemdecl}
1188-
template<class T> complex<T> sin (const complex<T>& x);
1188+
template<class T> complex<T> sin(const complex<T>& x);
11891189
\end{itemdecl}
11901190

11911191
\begin{itemdescr}
@@ -1196,7 +1196,7 @@
11961196

11971197
\indexlibrary{\idxcode{sinh}!\idxcode{complex}}%
11981198
\begin{itemdecl}
1199-
template<class T> complex<T> sinh (const complex<T>& x);
1199+
template<class T> complex<T> sinh(const complex<T>& x);
12001200
\end{itemdecl}
12011201

12021202
\begin{itemdescr}
@@ -1207,13 +1207,13 @@
12071207

12081208
\indexlibrary{\idxcode{sqrt}!\idxcode{complex}}%
12091209
\begin{itemdecl}
1210-
template<class T> complex<T> sqrt (const complex<T>& x);
1210+
template<class T> complex<T> sqrt(const complex<T>& x);
12111211
\end{itemdecl}
12121212

12131213
\begin{itemdescr}
12141214
\pnum
12151215
\notes
1216-
the branch cuts are along the negative real axis.
1216+
The branch cuts are along the negative real axis.
12171217

12181218
\pnum
12191219
\returns
@@ -1225,7 +1225,7 @@
12251225

12261226
\indexlibrary{\idxcode{tan}!\idxcode{complex}}%
12271227
\begin{itemdecl}
1228-
template<class T> complex<T> tan (const complex<T>& x);
1228+
template<class T> complex<T> tan(const complex<T>& x);
12291229
\end{itemdecl}
12301230

12311231
\begin{itemdescr}
@@ -1236,7 +1236,7 @@
12361236

12371237
\indexlibrary{\idxcode{tanh}!\idxcode{complex}}%
12381238
\begin{itemdecl}
1239-
template<class T> complex<T> tanh (const complex<T>& x);
1239+
template<class T> complex<T> tanh(const complex<T>& x);
12401240
\end{itemdecl}
12411241

12421242
\begin{itemdescr}

0 commit comments

Comments
 (0)