1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
.. Copyright (c) 2016-2024 Keith O'Hara
Distributed under the terms of the Apache License, Version 2.0.
The full license is in the file LICENSE, distributed with this software.
.. raw:: html
<style>
.rst-content table.docutils {
width: 100%;
table-layout: fixed;
}
table.docutils .line-block {
margin-left: 0;
margin-bottom: 0;
}
table.docutils code.literal {
color: initial;
}
code.docutils {
background: initial;
}
</style>
Mathematical functions
======================
.. toctree::
algorithms
+---------------------------------------+----------------------------------------------------+
| :ref:`gcd <gcd-function-reference>` | greatest common divisor |
+---------------------------------------+----------------------------------------------------+
| :ref:`lcm <lcm-function-reference>` | least common multiple |
+---------------------------------------+----------------------------------------------------+
.. toctree::
basic_functions
+---------------------------------------+----------------------------------------------------+
| :ref:`abs <abs-function-reference>` | absolute value |
+---------------------------------------+----------------------------------------------------+
| :ref:`fabs <fabs-function-reference>` | absolute value |
+---------------------------------------+----------------------------------------------------+
| :ref:`fabsf <fabsf-func-ref>` | absolute value |
+---------------------------------------+----------------------------------------------------+
| :ref:`fabsl <fabsl-func-ref>` | absolute value |
+---------------------------------------+----------------------------------------------------+
| :ref:`ceil <ceil-function-reference>` | ceiling function |
+---------------------------------------+----------------------------------------------------+
| :ref:`copysign <copysign-func-ref>` | copy sign function |
+---------------------------------------+----------------------------------------------------+
| :ref:`exp <exp-function-reference>` | exponential function |
+---------------------------------------+----------------------------------------------------+
| :ref:`expm1 <expm1-func-ref>` | exponential minus 1 function |
+---------------------------------------+----------------------------------------------------+
| :ref:`factorial <factorial-func-ref>` | factorial function |
+---------------------------------------+----------------------------------------------------+
| :ref:`floor <floor-func-ref>` | floor function |
+---------------------------------------+----------------------------------------------------+
| :ref:`fmod <fmod-func-ref>` | remainder of division function |
+---------------------------------------+----------------------------------------------------+
| :ref:`hypot <hypot-func-ref>` | Pythagorean addition function |
+---------------------------------------+----------------------------------------------------+
| :ref:`log <log-function-reference>` | natural logarithm function |
+---------------------------------------+----------------------------------------------------+
| :ref:`log1p <log1p-func-ref>` | natural logarithm 1 plus argument function |
+---------------------------------------+----------------------------------------------------+
| :ref:`log2 <log2-func-ref>` | binary logarithm function |
+---------------------------------------+----------------------------------------------------+
| :ref:`log10 <log10-func-ref>` | common logarithm function |
+---------------------------------------+----------------------------------------------------+
| :ref:`max <max-function-reference>` | maximum between two numbers |
+---------------------------------------+----------------------------------------------------+
| :ref:`min <min-function-reference>` | minimum between two numbers |
+---------------------------------------+----------------------------------------------------+
| :ref:`pow <pow-function-reference>` | power function |
+---------------------------------------+----------------------------------------------------+
| :ref:`round <round-func-ref>` | round function |
+---------------------------------------+----------------------------------------------------+
| :ref:`signbit <signbit-func-ref>` | sign bit function |
+---------------------------------------+----------------------------------------------------+
| :ref:`sgn <sgn-function-reference>` | sign function |
+---------------------------------------+----------------------------------------------------+
| :ref:`sqrt <sqrt-function-reference>` | square root function |
+---------------------------------------+----------------------------------------------------+
| :ref:`inv_sqrt <inv_sqrt-func-ref>` | inverse square root function |
+---------------------------------------+----------------------------------------------------+
| :ref:`trunc <trunc-func-ref>` | truncate function |
+---------------------------------------+----------------------------------------------------+
.. toctree::
hyperbolic_functions
+---------------------------------------+----------------------------------------------------+
| :ref:`cosh <cosh-function-reference>` | hyperbolic cosine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`sinh <sinh-function-reference>` | hyperbolic sine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`tanh <tanh-function-reference>` | hyperbolic tangent function |
+---------------------------------------+----------------------------------------------------+
| :ref:`acosh <acosh-func-ref>` | inverse hyperbolic cosine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`asinh <asinh-func-ref>` | inverse hyperbolic sine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`atanh <atanh-func-ref>` | inverse hyperbolic tangent function |
+---------------------------------------+----------------------------------------------------+
.. toctree::
special_functions
+---------------------------------------+----------------------------------------------------+
| :ref:`binomial_coef <binom-func-ref>` | binomial coefficient |
+---------------------------------------+----------------------------------------------------+
| :ref:`log_binomial_coef <lbinom-ref>` | log binomial coefficient |
+---------------------------------------+----------------------------------------------------+
| :ref:`beta <beta-function-reference>` | beta function |
+---------------------------------------+----------------------------------------------------+
| :ref:`lbeta <lbeta-func-ref>` | log-beta function |
+---------------------------------------+----------------------------------------------------+
| :ref:`tgamma <tgamma-func-ref>` | gamma function |
+---------------------------------------+----------------------------------------------------+
| :ref:`lgamma <lgamma-func-ref>` | log-gamma function |
+---------------------------------------+----------------------------------------------------+
| :ref:`lmgamma <lmgamma-func-ref>` | log-multivariate gamma function |
+---------------------------------------+----------------------------------------------------+
| :ref:`erf <erf-function-reference>` | error function |
+---------------------------------------+----------------------------------------------------+
| :ref:`incomplete_beta <ib-func-ref>` | incomplete beta function |
+---------------------------------------+----------------------------------------------------+
| :ref:`incomplete_gamma <ig-func-ref>` | incomplete gamma function |
+---------------------------------------+----------------------------------------------------+
| :ref:`erf_inv <erf_inv-func-ref>` | inverse error function |
+---------------------------------------+----------------------------------------------------+
| :ref:`incomplete_beta_inv <iib-ref>` | inverse incomplete beta function |
+---------------------------------------+----------------------------------------------------+
| :ref:`incomplete_gamma_inv <iig-ref>` | inverse incomplete gamma function |
+---------------------------------------+----------------------------------------------------+
.. toctree::
trigonometric_functions
+---------------------------------------+----------------------------------------------------+
| :ref:`cos <cos-function-reference>` | cosine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`sin <sin-function-reference>` | sine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`tan <tan-function-reference>` | tangent function |
+---------------------------------------+----------------------------------------------------+
| :ref:`acos <acos-function-reference>` | arccosine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`asin <asin-function-reference>` | arcsine function |
+---------------------------------------+----------------------------------------------------+
| :ref:`atan <atan-function-reference>` | arctangent function |
+---------------------------------------+----------------------------------------------------+
| :ref:`atan2 <atan2-func-ref>` | two-argument arctangent function |
+---------------------------------------+----------------------------------------------------+
|