Python Programming for Biology: Bioinformatics and Beyond



Download 7,75 Mb.
Pdf ko'rish
bet463/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   459   460   461   462   463   464   465   466   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Method/Attribute

(math.)

Description

ceil(x)


Gives a floating point value that is rounded to the next

integer value towards infinity. Equivalent to

math.floor(x)+1.0.



factorial(x)

For an integer, the product of all natural numbers up to and

including that value: x!. Noting that 0! is defined to be 1.

floor(x)


Gives a floating point value that is rounded to the next

integer value towards negative infinity.

isinf(x)

Determines whether a value is an infinity object.

isnan(x)

Determines whether a value is a ‘not a number’ object.

exp(x)

Finds the exponent; e to the power of a value.



log(x, base)

Finds the logarithm of a value. Defaults to a natural

logarithm, but an optional base may be specified.

pow(x, y)

Raises one value to the power of another. Equivalent to x **

y.

sqrt(x)



Finds the square root of a non-negative value.

acos(x)


Finds the inverse cosine (arccosine).

asin(x)


Finds the inverse sine (arcsine).

atan(x)


Finds the inverse tangent (arctangent).

atan2(y, x)

Finds the inverse tangent of y/x (arctangent).

cos(x)


Finds the cosine of an angle (in radians).

hypot(x, y)

Finds the length of the hypotenuse of a right-angled triangle

(2D), given the length of the other two sides. Equivalent to

math.sqrt(x*x + y*y).

sin(x)


Finds the sine of an angle (in radians).

tan(x)


Finds the tangent of an angle (in radians).

degrees(x)

Converts an angle in radians to degrees.

radians(x)

Converts an angle in degrees to radians.

acosh(x)


Finds the inverse hyperbolic cosine.

asinh(x)


Finds the inverse hyperbolic sine.


atanh(x)

Finds the inverse hyperbolic tangent.

cosh(x)

Finds the hyperbolic cosine.

sinh(x)

Finds the hyperbolic sine.

tanh(x)

Finds the hyperbolic tangent.

pi

The constant Pi (π); 3.141592653589793…



e

The constant Euler’s number (e); 2.718281828459…




Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   459   460   461   462   463   464   465   466   ...   514




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish