• Stars
    star
    553
  • Rank 80,462 (Top 2 %)
  • Language
    Python
  • Created over 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

👯 Implement mathematics.

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^9/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

poetry shell
poetry install
pytest

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.

More Repositories

1

Rubype

🐪 Super simple, clean. Contracts for Ruby
Ruby
378
star
2

maxwell

🗡 Maxwell makes web scraping more simpler and faster with Ruby.
Ruby
35
star
3

Primes

👸 Be colorful! Be happy!. コレ(↓)をめっちゃカラフルにしたい. p.s. 色表示が大雑把になってる....
Java
20
star
4

enumerator-parallel

💨 Super simple wrapper between Enumerator and Parallel.
Ruby
13
star
5

dydx

This fork is no longer maintained
Ruby
10
star
6

simple-dhcp-server

Automatically exported from code.google.com/p/simple-dhcp-server
C
10
star
7

Ringo

Beat oriented programing langugae
Haskell
7
star
8

enjoy_markov

Enjoy markov
Ruby
4
star
9

umart_on_rails

Freeeのお弁当注文用 app
Ruby
4
star
10

herokuSinatraMinimum

Ruby
4
star
11

_

Binding obvious arg with underscore for Ruby.
Ruby
3
star
12

Numrb

Numpy => Ruby
Ruby
3
star
13

ec_site_for_ex

ヴァンテージ研修2015で例として用いるアプリ
Ruby
2
star
14

DOGEZA

2
star
15

httpcounter

Http + Redis = Count!
Go
2
star
16

Topology

General topology with Ruby
Ruby
2
star
17

ccmath

CCMath is C implantation of CMath(Ruby-stl).
C
2
star
18

gogotanaka

this is gogotanaka
CSS
1
star
19

gogo_sass

このスタイルの当て方は意見が分かれる所ですが...
CSS
1
star
20

MagicLogic

propositional logic with ruby
Ruby
1
star
21

kasen

moved to https://github.com/gogotanaka/_
1
star
22

language-egison

Egison language grammar for GitHub's Atom IDE
1
star
23

Haskell

Please see the new repository:
Ruby
1
star
24

prime

Simple primes generator for go.
Go
1
star
25

pry-toggle

Toggle breakpoints `binding.pry` easily from command line.
Ruby
1
star