Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
1b914b33
Kaydet (Commit)
1b914b33
authored
Eyl 30, 1997
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed up formatting, added descriptions for previously undocumented functions.
üst
fd9ef4a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
138 additions
and
74 deletions
+138
-74
libcmath.tex
Doc/lib/libcmath.tex
+69
-37
libcmath.tex
Doc/libcmath.tex
+69
-37
No files found.
Doc/lib/libcmath.tex
Dosyayı görüntüle @
1b914b33
...
@@ -6,48 +6,80 @@
...
@@ -6,48 +6,80 @@
This module is always available.
This module is always available.
It provides access to mathematical functions for complex numbers.
It provides access to mathematical functions for complex numbers.
The functions are:
The functions are:
\iftexi
\begin{funcdesc}
{
acos
}{
x
}
\begin{funcdesc}
{
acos
}{
x
}
\funcline
{
asin
}{
x
}
Return the arc cosine of
\var
{
x
}
.
\funcline
{
atan
}{
x
}
\end{funcdesc}
\funcline
{
cos
}{
x
}
\funcline
{
cosh
}{
x
}
\begin{funcdesc}
{
acosh
}{
x
}
\funcline
{
exp
}{
x
}
Return the hyperbolic arc cosine of
\var
{
x
}
.
\funcline
{
log
}{
x
}
\end{funcdesc}
\funcline
{
log10
}{
x
}
\funcline
{
sin
}{
x
}
\begin{funcdesc}
{
asin
}{
x
}
\funcline
{
sinh
}{
x
}
Return the arc sine of
\var
{
x
}
.
\funcline
{
sqrt
}{
x
}
\end{funcdesc}
\funcline
{
tan
}{
x
}
\funcline
{
tanh
}{
x
}
\begin{funcdesc}
{
asinh
}{
x
}
\end{funcdesc}
Return the hyperbolic arc sine of
\var
{
x
}
.
\else
\end{funcdesc}
\code
{
acos(
\varvars
{
x
}
)
}
,
\code
{
acosh(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
atan
}{
x
}
\code
{
asin(
\varvars
{
x
}
)
}
,
Return the arc tangent of
\var
{
x
}
.
\code
{
asinh(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
atan(
\varvars
{
x
}
)
}
,
\code
{
atanh(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
atanh
}{
x
}
\code
{
cos(
\varvars
{
x
}
)
}
,
Return the hyperbolic arc tangent of
\var
{
x
}
.
\code
{
cosh(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
exp(
\varvars
{
x
}
)
}
,
\code
{
log(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
cos
}{
x
}
\code
{
log10(
\varvars
{
x
}
)
}
,
Return the cosine of
\var
{
x
}
.
\code
{
sin(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
sinh(
\varvars
{
x
}
)
}
,
\code
{
sqrt(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
cosh
}{
x
}
\code
{
tan(
\varvars
{
x
}
)
}
,
Return the hyperbolic cosine of
\var
{
x
}
.
\code
{
tanh(
\varvars
{
x
}
)
}
.
\end{funcdesc}
\fi
\begin{funcdesc}
{
exp
}{
x
}
Return the exponential value
$
\mbox
{
e
}^
x
$
.
\end{funcdesc}
\begin{funcdesc}
{
log
}{
x
}
Return the natural logarithm of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
log10
}{
x
}
Return the base-10 logarithm of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sin
}{
x
}
Return the sine of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sinh
}{
x
}
Return the hyperbolic sine of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sqrt
}{
x
}
Return the square root of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
tan
}{
x
}
Return the tangent of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
tanh
}{
x
}
Return the hyperbolic tangent of
\var
{
x
}
.
\end{funcdesc}
The module also defines two mathematical constants:
The module also defines two mathematical constants:
\iftexi
\begin{datadesc}
{
pi
}
\begin{datadesc}
{
pi
}
\dataline
{
e
}
The mathematical constant
\emph
{
pi
}
, as a real.
\end{datadesc}
\begin{datadesc}
{
e
}
The mathematical constant
\emph
{
e
}
, as a real.
\end{datadesc}
\end{datadesc}
\else
\code
{
pi
}
and
\code
{
e
}
.
\fi
Note that the selection of functions is similar, but not identical, to
Note that the selection of functions is similar, but not identical, to
that in module
\code
{
math
}
. The reason for having two modules is,
that in module
\code
{
math
}
. The reason for having two modules is,
...
...
Doc/libcmath.tex
Dosyayı görüntüle @
1b914b33
...
@@ -6,48 +6,80 @@
...
@@ -6,48 +6,80 @@
This module is always available.
This module is always available.
It provides access to mathematical functions for complex numbers.
It provides access to mathematical functions for complex numbers.
The functions are:
The functions are:
\iftexi
\begin{funcdesc}
{
acos
}{
x
}
\begin{funcdesc}
{
acos
}{
x
}
\funcline
{
asin
}{
x
}
Return the arc cosine of
\var
{
x
}
.
\funcline
{
atan
}{
x
}
\end{funcdesc}
\funcline
{
cos
}{
x
}
\funcline
{
cosh
}{
x
}
\begin{funcdesc}
{
acosh
}{
x
}
\funcline
{
exp
}{
x
}
Return the hyperbolic arc cosine of
\var
{
x
}
.
\funcline
{
log
}{
x
}
\end{funcdesc}
\funcline
{
log10
}{
x
}
\funcline
{
sin
}{
x
}
\begin{funcdesc}
{
asin
}{
x
}
\funcline
{
sinh
}{
x
}
Return the arc sine of
\var
{
x
}
.
\funcline
{
sqrt
}{
x
}
\end{funcdesc}
\funcline
{
tan
}{
x
}
\funcline
{
tanh
}{
x
}
\begin{funcdesc}
{
asinh
}{
x
}
\end{funcdesc}
Return the hyperbolic arc sine of
\var
{
x
}
.
\else
\end{funcdesc}
\code
{
acos(
\varvars
{
x
}
)
}
,
\code
{
acosh(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
atan
}{
x
}
\code
{
asin(
\varvars
{
x
}
)
}
,
Return the arc tangent of
\var
{
x
}
.
\code
{
asinh(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
atan(
\varvars
{
x
}
)
}
,
\code
{
atanh(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
atanh
}{
x
}
\code
{
cos(
\varvars
{
x
}
)
}
,
Return the hyperbolic arc tangent of
\var
{
x
}
.
\code
{
cosh(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
exp(
\varvars
{
x
}
)
}
,
\code
{
log(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
cos
}{
x
}
\code
{
log10(
\varvars
{
x
}
)
}
,
Return the cosine of
\var
{
x
}
.
\code
{
sin(
\varvars
{
x
}
)
}
,
\end{funcdesc}
\code
{
sinh(
\varvars
{
x
}
)
}
,
\code
{
sqrt(
\varvars
{
x
}
)
}
,
\begin{funcdesc}
{
cosh
}{
x
}
\code
{
tan(
\varvars
{
x
}
)
}
,
Return the hyperbolic cosine of
\var
{
x
}
.
\code
{
tanh(
\varvars
{
x
}
)
}
.
\end{funcdesc}
\fi
\begin{funcdesc}
{
exp
}{
x
}
Return the exponential value
$
\mbox
{
e
}^
x
$
.
\end{funcdesc}
\begin{funcdesc}
{
log
}{
x
}
Return the natural logarithm of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
log10
}{
x
}
Return the base-10 logarithm of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sin
}{
x
}
Return the sine of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sinh
}{
x
}
Return the hyperbolic sine of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
sqrt
}{
x
}
Return the square root of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
tan
}{
x
}
Return the tangent of
\var
{
x
}
.
\end{funcdesc}
\begin{funcdesc}
{
tanh
}{
x
}
Return the hyperbolic tangent of
\var
{
x
}
.
\end{funcdesc}
The module also defines two mathematical constants:
The module also defines two mathematical constants:
\iftexi
\begin{datadesc}
{
pi
}
\begin{datadesc}
{
pi
}
\dataline
{
e
}
The mathematical constant
\emph
{
pi
}
, as a real.
\end{datadesc}
\begin{datadesc}
{
e
}
The mathematical constant
\emph
{
e
}
, as a real.
\end{datadesc}
\end{datadesc}
\else
\code
{
pi
}
and
\code
{
e
}
.
\fi
Note that the selection of functions is similar, but not identical, to
Note that the selection of functions is similar, but not identical, to
that in module
\code
{
math
}
. The reason for having two modules is,
that in module
\code
{
math
}
. The reason for having two modules is,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment