~ubuntu-branches/ubuntu/trusty/gsl-ref-html/trusty

« back to all changes in this revision

Viewing changes to Elementary-Complex-Functions.html

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2006-04-12 19:46:32 UTC
  • mfrom: (1.3.1 upstream) (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060412194632-c9lodpl075pv9si3
Tags: 1.8-1
* New upstream release 1.8
* As with previous releases, the sources were obtained from the FSF web 
  pages by means of a wget call (c.f. the debian/rules target 'upstream')

* debian/control: Standards-Version increased to 3.6.2
* debian/copyright: Updated FSF address
* debian/rules: Set DH_COMPAT=4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html lang="en">
 
2
<head>
 
3
<title>Elementary Complex Functions - GNU Scientific Library -- Reference Manual</title>
 
4
<meta http-equiv="Content-Type" content="text/html">
 
5
<meta name="description" content="GNU Scientific Library -- Reference Manual">
 
6
<meta name="generator" content="makeinfo 4.8">
 
7
<link title="Top" rel="start" href="index.html#Top">
 
8
<link rel="up" href="Complex-Numbers.html#Complex-Numbers" title="Complex Numbers">
 
9
<link rel="prev" href="Complex-arithmetic-operators.html#Complex-arithmetic-operators" title="Complex arithmetic operators">
 
10
<link rel="next" href="Complex-Trigonometric-Functions.html#Complex-Trigonometric-Functions" title="Complex Trigonometric Functions">
 
11
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
 
12
<!--
 
13
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 The GSL Team.
 
14
 
 
15
Permission is granted to copy, distribute and/or modify this document
 
16
under the terms of the GNU Free Documentation License, Version 1.2 or
 
17
any later version published by the Free Software Foundation; with the
 
18
Invariant Sections being ``GNU General Public License'' and ``Free Software
 
19
Needs Free Documentation'', the Front-Cover text being ``A GNU Manual'',
 
20
and with the Back-Cover Text being (a) (see below).  A copy of the
 
21
license is included in the section entitled ``GNU Free Documentation
 
22
License''.
 
23
 
 
24
(a) The Back-Cover Text is: ``You have freedom to copy and modify this
 
25
GNU Manual, like GNU software.''-->
 
26
<meta http-equiv="Content-Style-Type" content="text/css">
 
27
<style type="text/css"><!--
 
28
  pre.display { font-family:inherit }
 
29
  pre.format  { font-family:inherit }
 
30
  pre.smalldisplay { font-family:inherit; font-size:smaller }
 
31
  pre.smallformat  { font-family:inherit; font-size:smaller }
 
32
  pre.smallexample { font-size:smaller }
 
33
  pre.smalllisp    { font-size:smaller }
 
34
  span.sc    { font-variant:small-caps }
 
35
  span.roman { font-family:serif; font-weight:normal; } 
 
36
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
 
37
--></style>
 
38
</head>
 
39
<body>
 
40
<div class="node">
 
41
<p>
 
42
<a name="Elementary-Complex-Functions"></a>
 
43
Next:&nbsp;<a rel="next" accesskey="n" href="Complex-Trigonometric-Functions.html#Complex-Trigonometric-Functions">Complex Trigonometric Functions</a>,
 
44
Previous:&nbsp;<a rel="previous" accesskey="p" href="Complex-arithmetic-operators.html#Complex-arithmetic-operators">Complex arithmetic operators</a>,
 
45
Up:&nbsp;<a rel="up" accesskey="u" href="Complex-Numbers.html#Complex-Numbers">Complex Numbers</a>
 
46
<hr>
 
47
</div>
 
48
 
 
49
<h3 class="section">5.4 Elementary Complex Functions</h3>
 
50
 
 
51
<div class="defun">
 
52
&mdash; Function: gsl_complex <b>gsl_complex_sqrt</b> (<var>gsl_complex z</var>)<var><a name="index-gsl_005fcomplex_005fsqrt-165"></a></var><br>
 
53
<blockquote><p><a name="index-square-root-of-complex-number-166"></a>This function returns the square root of the complex number <var>z</var>,
 
54
\sqrt z. The branch cut is the negative real axis. The result
 
55
always lies in the right half of the complex plane. 
 
56
</p></blockquote></div>
 
57
 
 
58
<div class="defun">
 
59
&mdash; Function: gsl_complex <b>gsl_complex_sqrt_real</b> (<var>double x</var>)<var><a name="index-gsl_005fcomplex_005fsqrt_005freal-167"></a></var><br>
 
60
<blockquote><p>This function returns the complex square root of the real number
 
61
<var>x</var>, where <var>x</var> may be negative. 
 
62
</p></blockquote></div>
 
63
 
 
64
<div class="defun">
 
65
&mdash; Function: gsl_complex <b>gsl_complex_pow</b> (<var>gsl_complex z, gsl_complex a</var>)<var><a name="index-gsl_005fcomplex_005fpow-168"></a></var><br>
 
66
<blockquote><p><a name="index-power-of-complex-number-169"></a><a name="index-exponentiation-of-complex-number-170"></a>The function returns the complex number <var>z</var> raised to the complex
 
67
power <var>a</var>, z^a. This is computed as \exp(\log(z)*a)
 
68
using complex logarithms and complex exponentials. 
 
69
</p></blockquote></div>
 
70
 
 
71
<div class="defun">
 
72
&mdash; Function: gsl_complex <b>gsl_complex_pow_real</b> (<var>gsl_complex z, double x</var>)<var><a name="index-gsl_005fcomplex_005fpow_005freal-171"></a></var><br>
 
73
<blockquote><p>This function returns the complex number <var>z</var> raised to the real
 
74
power <var>x</var>, z^x. 
 
75
</p></blockquote></div>
 
76
 
 
77
<div class="defun">
 
78
&mdash; Function: gsl_complex <b>gsl_complex_exp</b> (<var>gsl_complex z</var>)<var><a name="index-gsl_005fcomplex_005fexp-172"></a></var><br>
 
79
<blockquote><p>This function returns the complex exponential of the complex number
 
80
<var>z</var>, \exp(z). 
 
81
</p></blockquote></div>
 
82
 
 
83
<div class="defun">
 
84
&mdash; Function: gsl_complex <b>gsl_complex_log</b> (<var>gsl_complex z</var>)<var><a name="index-gsl_005fcomplex_005flog-173"></a></var><br>
 
85
<blockquote><p><a name="index-logarithm-of-complex-number-174"></a>This function returns the complex natural logarithm (base e) of
 
86
the complex number <var>z</var>, \log(z).  The branch cut is the
 
87
negative real axis. 
 
88
</p></blockquote></div>
 
89
 
 
90
<div class="defun">
 
91
&mdash; Function: gsl_complex <b>gsl_complex_log10</b> (<var>gsl_complex z</var>)<var><a name="index-gsl_005fcomplex_005flog10-175"></a></var><br>
 
92
<blockquote><p>This function returns the complex base-10 logarithm of
 
93
the complex number <var>z</var>, <!-- {$\log_{10}(z)$} -->
 
94
\log_10 (z). 
 
95
</p></blockquote></div>
 
96
 
 
97
<div class="defun">
 
98
&mdash; Function: gsl_complex <b>gsl_complex_log_b</b> (<var>gsl_complex z, gsl_complex b</var>)<var><a name="index-gsl_005fcomplex_005flog_005fb-176"></a></var><br>
 
99
<blockquote><p>This function returns the complex base-<var>b</var> logarithm of the complex
 
100
number <var>z</var>, \log_b(z). This quantity is computed as the ratio
 
101
\log(z)/\log(b). 
 
102
</p></blockquote></div>
 
103
 
 
104
   </body></html>
 
105