👯 Implement mathematics.
Clone or download
Latest commit 6c90928 Aug 13, 2015
Permalink
Failed to load latest commit information.
bin Restruc files Jun 21, 2015
lib/hilbert Init h_decorator Aug 13, 2015
.coveralls.yml Update cover api Nov 8, 2014
.gitignore Get rif of *pyc Jun 21, 2015
.travis.yml Restruc parser Jun 14, 2015
CHANGELOG.md v2.000001 Jun 9, 2015
README.md README.md: Add basic algebra example Jun 25, 2015
setup.py Restruc files Jun 21, 2015

README.md

Hilbert

Build Status Coverage Status Code Climate Dependency Status

Hilbert lets you have a sense of mathematics using a keyboard, the same as you would with a pen.

#philosophy

  • Enjoy mathematics with keyboard like with pen and paper.

  • Implement 'mathematics'

with Pen and paper

+-------------+       +--------------+       +---------------+
| Mathematics | <-->  | Human brains | <-->  | Pen and paper |
+-------------+       +--------------+       +---------------+

with Hilbert

+-------------+       +--------------+       +---------+
| Mathematics | <-->  | Human brains | <-->  | Hilbert |
+-------------+       | or computer  |       +---------+
                      +--------------+

Demo

xxxxyyyxxzz
=> (x^6)(y^3)(z^2)

f(x)=xxxxxxxx
f(2)
=> 256

df/dx
=>8(x^7)

S(f dx)
=>x^8/8

lim[x->0](1/x)
=> oo

Basic algebra

f(x,y)=xy
f(3,2)
#=> 6

f(s,t)
#=> st

g(s)=f(s,2)
g(u)
#=> 2u

Differentiate

d/dx(cos(x))
=> -sin(x)

d/dy(xy)
=> x

d/dx(e^x)
=> e^x

Integrate

S(log(x)dx)
=> x*log(x) - x

S(sin(x)dx)
=> -cos(x)

Limit

lim[x->0](1/x)
=> oo

Function

f(x, y) = xy
f(1, 2)
=> 2

Develop

Run test

pip install ply sympy
python lib/hilbert/test_main.py

Try

./bin/hilbert

Any PRs or issues are welcome. (Please make them to the develop branch.)

You can become a committer, even if you only commit once.