-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
125 lines (82 loc) · 3.57 KB
/
README
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
SymPy
=====
A Python library for symbolic mathematics.
http://code.google.com/p/sympy/
See the AUTHORS file for the list of authors.
And many more people helped on the SymPy mailinglist, reported bugs, helped
organize SymPy's participation in the Google Summer of Code, the Google Highly
Open Participation Contest, wrote and blogged about SymPy...
License: New BSD License (see the LICENSE file for details)
covers all files in the sympy repository unless stated otherwise.
0. Download
-----------
$ git clone git://git.sympy.org/sympy.git
For other options (tarballs, debs, etc.), see the web page of SymPy.
1. Documentation and usage
--------------------------
Everything is at:
http://docs.sympy.org/
You can generate everything at the above site in your local copy of SymPy by:
$ cd doc
$ make html
$ epiphany _build/html/index.html
If you don't want to read that, here is a short usage:
From this directory, start python and:
>>> from sympy import Symbol, cos
>>> x = Symbol('x')
>>> e = 1/cos(x)
>>> print e.series(x, 0, 10)
1 + (1/2)*x**2 + (5/24)*x**4 + (61/720)*x**6 + (277/8064)*x**8 + O(x**10)
SymPy also comes with a console that is a simple wrapper around the
classic python console (or ipython when available) that loads the
sympy namespace and executes some common commands for you.
To start it, issue:
$ bin/isympy
from this directory if SymPy is not installed or simply
$ isympy
if SymPy is installed somewhere in your PATH.
3. Tests
--------
to execute tests, run
./setup.py test
in the current directory.
4. Clean
--------
To clean everything (thus getting the same tree as in the repository):
./setup.py clean
5. Brief History
----------------
SymPy was started by Ondrej Certik in 2005, he wrote some code during the
summer, then he wrote some more code during the summer 2006. In February 2007,
Fabian Pedregosa joined the project and helped fixed many things, contributed
documentation and made it alive again. 5 students (Mateusz Paprocki, Brian
Jorgensen, Jason Gedge, Robert Schwarz and Chris Wu) improved SymPy incredibly
during the summer 2007 as part of the Google Summer of Code. Pearu Peterson
joined the development during the summer 2007 and he has made SymPy much more
competitive by rewriting the core from scratch, that has made it from 10x to
100x faster. Jurjen N.E. Bos has contributed pretty printing and other patches.
Fredrik Johansson has wrote mpmath and contributed a lot of patches. Since
then, a lot more people have joined the development and some people have also
left. You can see the full list in doc/src/aboutus.txt, or online at:
http://docs.sympy.org/aboutus.html#sympy-development-team
People who preferred not to be associated with the project anymore have "not
active anymore" written near their names.
6. Citation
-----------
To cite SymPy in publications use::
SymPy Development Team (2009). SymPy: Python library for symbolic mathematics
URL http://www.sympy.org.
A BibTeX entry for LaTeX users is::
@Manual{,
title = {SymPy: Python library for symbolic mathematics},
author = {{SymPy Development Team}},
year = {2009},
url = {http://www.sympy.org},
}
SymPy is BSD licensed, so you are free to use it whatever you like, be it
academic, commercial, creating forks or derivatives, as long as you copy the BSD
statement if you redistribute it (see the LICENSE file for details).
That said, although not required by the SymPy license, if it is convenient for
you, please cite SymPy when using it in your work and also consider
contributing all your changes back, so that we can incorporate it and all of us
will benefit in the end.