|
307 | 307 | template<class T> T norm(const complex<T>&);
|
308 | 308 |
|
309 | 309 | 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>&); |
311 | 311 | template<class T> complex<T> polar(const T&, const T& = 0);
|
312 | 312 |
|
313 | 313 | // \ref{complex.transcendentals}, transcendentals:
|
|
325 | 325 | template<class T> complex<T> log (const complex<T>&);
|
326 | 326 | template<class T> complex<T> log10(const complex<T>&);
|
327 | 327 |
|
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>&); |
331 | 331 |
|
332 | 332 | template<class T> complex<T> sin (const complex<T>&);
|
333 | 333 | template<class T> complex<T> sinh (const complex<T>&);
|
|
1130 | 1130 | \begin{itemdescr}
|
1131 | 1131 | \pnum
|
1132 | 1132 | \notes
|
1133 |
| -the branch cuts are along the negative real axis. |
| 1133 | +The branch cuts are along the negative real axis. |
1134 | 1134 |
|
1135 | 1135 | \pnum
|
1136 | 1136 | \returns
|
|
1152 | 1152 | \begin{itemdescr}
|
1153 | 1153 | \pnum
|
1154 | 1154 | \notes
|
1155 |
| -the branch cuts are along the negative real axis. |
| 1155 | +The branch cuts are along the negative real axis. |
1156 | 1156 |
|
1157 | 1157 | \pnum
|
1158 | 1158 | \returns
|
|
1162 | 1162 |
|
1163 | 1163 | \indexlibrary{\idxcode{pow}!\idxcode{complex}}%
|
1164 | 1164 | \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); |
1169 | 1168 | \end{itemdecl}
|
1170 | 1169 |
|
1171 | 1170 | \begin{itemdescr}
|
1172 | 1171 | \pnum
|
1173 | 1172 | \notes
|
1174 |
| -the branch cuts are along the negative real axis. |
| 1173 | +The branch cuts are along the negative real axis. |
1175 | 1174 |
|
1176 | 1175 | \pnum
|
1177 | 1176 | \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, |
1179 | 1178 | defined as
|
1180 |
| -\tcode{exp(y*log(x))}. |
| 1179 | +\tcode{exp(y * log(x))}. |
1181 | 1180 | The value returned for
|
1182 |
| -\tcode{pow(0,0)} |
| 1181 | +\tcode{pow(0, 0)} |
1183 | 1182 | is implementation-defined.
|
1184 | 1183 | \end{itemdescr}
|
1185 | 1184 |
|
1186 | 1185 | \indexlibrary{\idxcode{sin}!\idxcode{complex}}%
|
1187 | 1186 | \begin{itemdecl}
|
1188 |
| -template<class T> complex<T> sin (const complex<T>& x); |
| 1187 | +template<class T> complex<T> sin(const complex<T>& x); |
1189 | 1188 | \end{itemdecl}
|
1190 | 1189 |
|
1191 | 1190 | \begin{itemdescr}
|
|
1196 | 1195 |
|
1197 | 1196 | \indexlibrary{\idxcode{sinh}!\idxcode{complex}}%
|
1198 | 1197 | \begin{itemdecl}
|
1199 |
| -template<class T> complex<T> sinh (const complex<T>& x); |
| 1198 | +template<class T> complex<T> sinh(const complex<T>& x); |
1200 | 1199 | \end{itemdecl}
|
1201 | 1200 |
|
1202 | 1201 | \begin{itemdescr}
|
|
1207 | 1206 |
|
1208 | 1207 | \indexlibrary{\idxcode{sqrt}!\idxcode{complex}}%
|
1209 | 1208 | \begin{itemdecl}
|
1210 |
| -template<class T> complex<T> sqrt (const complex<T>& x); |
| 1209 | +template<class T> complex<T> sqrt(const complex<T>& x); |
1211 | 1210 | \end{itemdecl}
|
1212 | 1211 |
|
1213 | 1212 | \begin{itemdescr}
|
1214 | 1213 | \pnum
|
1215 | 1214 | \notes
|
1216 |
| -the branch cuts are along the negative real axis. |
| 1215 | +The branch cuts are along the negative real axis. |
1217 | 1216 |
|
1218 | 1217 | \pnum
|
1219 | 1218 | \returns
|
|
1225 | 1224 |
|
1226 | 1225 | \indexlibrary{\idxcode{tan}!\idxcode{complex}}%
|
1227 | 1226 | \begin{itemdecl}
|
1228 |
| -template<class T> complex<T> tan (const complex<T>& x); |
| 1227 | +template<class T> complex<T> tan(const complex<T>& x); |
1229 | 1228 | \end{itemdecl}
|
1230 | 1229 |
|
1231 | 1230 | \begin{itemdescr}
|
|
1236 | 1235 |
|
1237 | 1236 | \indexlibrary{\idxcode{tanh}!\idxcode{complex}}%
|
1238 | 1237 | \begin{itemdecl}
|
1239 |
| -template<class T> complex<T> tanh (const complex<T>& x); |
| 1238 | +template<class T> complex<T> tanh(const complex<T>& x); |
1240 | 1239 | \end{itemdecl}
|
1241 | 1240 |
|
1242 | 1241 | \begin{itemdescr}
|
|
0 commit comments