paul@544 | 1 | #!/usr/bin/env python |
paul@544 | 2 | |
paul@544 | 3 | """ |
paul@544 | 4 | Mathematical functions. |
paul@544 | 5 | |
paul@544 | 6 | Copyright (C) 2012 Paul Boddie <paul@boddie.org.uk> |
paul@544 | 7 | |
paul@544 | 8 | This program is free software; you can redistribute it and/or modify it under |
paul@544 | 9 | the terms of the GNU General Public License as published by the Free Software |
paul@544 | 10 | Foundation; either version 3 of the License, or (at your option) any later |
paul@544 | 11 | version. |
paul@544 | 12 | |
paul@544 | 13 | This program is distributed in the hope that it will be useful, but WITHOUT |
paul@544 | 14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
paul@544 | 15 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
paul@544 | 16 | details. |
paul@544 | 17 | |
paul@544 | 18 | You should have received a copy of the GNU General Public License along with |
paul@544 | 19 | this program. If not, see <http://www.gnu.org/licenses/>. |
paul@544 | 20 | """ |
paul@544 | 21 | |
paul@544 | 22 | def pow(x, y): |
paul@544 | 23 | |
paul@544 | 24 | "Return x ** y." |
paul@544 | 25 | |
paul@544 | 26 | return x ** y |
paul@544 | 27 | |
paul@544 | 28 | def acos(x): pass |
paul@544 | 29 | def asin(x): pass |
paul@544 | 30 | def atan(x): pass |
paul@544 | 31 | def atan2(y, x): pass |
paul@544 | 32 | def ceil(x): pass |
paul@544 | 33 | def cos(x): pass |
paul@544 | 34 | def cosh(x): pass |
paul@544 | 35 | def degrees(x): pass |
paul@544 | 36 | def exp(x): pass |
paul@544 | 37 | def fabs(x): pass |
paul@544 | 38 | def floor(x): pass |
paul@544 | 39 | def fmod(x, y): pass |
paul@544 | 40 | def frexp(x): pass |
paul@544 | 41 | def hypot(x, y): pass |
paul@544 | 42 | def ldexp(x, i): pass |
paul@544 | 43 | def log(x, base=None): pass |
paul@544 | 44 | def log10(x): pass |
paul@544 | 45 | def modf(x): pass |
paul@544 | 46 | def radians(x): pass |
paul@544 | 47 | def sin(x): pass |
paul@544 | 48 | def sinh(x): pass |
paul@544 | 49 | def sqrt(x): pass |
paul@544 | 50 | def tan(x): pass |
paul@544 | 51 | def tanh(x): pass |
paul@544 | 52 | |
paul@544 | 53 | # NOTE: To be defined: e, pi. |
paul@544 | 54 | |
paul@544 | 55 | # vim: tabstop=4 expandtab shiftwidth=4 |