1 <?xml version=
"1.0" encoding=
"utf-8" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
6 <meta name=
"generator" content=
"Docutils 0.4.1: http://docutils.sourceforge.net/" />
7 <title>SympyCore - an efficient pure Python Computer Algebra System
</title>
8 <meta name=
"authors" content=
"Pearu Peterson <pearu.peterson AT gmail DOT com> Fredrik Johansson <fredrik.johansson AT gmail DOT com>" />
9 <style type=
"text/css">
12 :Author: David Goodger
13 :Contact: goodger@users.sourceforge.net
14 :Date: $Date:
2005-
12-
18 01:
56:
14 +
0100 (Sun,
18 Dec
2005) $
15 :Revision: $Revision:
4224 $
16 :Copyright: This stylesheet has been placed in the public domain.
18 Default cascading style sheet for the HTML output of Docutils.
20 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
21 customize this style sheet.
24 /* used to remove borders from tables and images */
25 .borderless, table.borderless td, table.borderless th {
28 table.borderless td, table.borderless th {
29 /* Override padding for
"table.docutils td" with
"! important".
30 The right padding separates the table cells. */
31 padding:
0 0.5em
0 0 ! important }
34 /* Override more specific margin styles with
"! important". */
35 margin-top:
0 ! important }
37 .last, .with-subtitle {
38 margin-bottom:
0 ! important }
44 text-decoration: none ;
51 margin-bottom:
0.5em }
53 /* Uncomment (and remove this text!) to get bold-faced definition list terms
61 div.abstract p.topic-title {
65 div.admonition, div.attention, div.caution, div.danger, div.error,
66 div.hint, div.important, div.note, div.tip, div.warning {
68 border: medium outset ;
71 div.admonition p.admonition-title, div.hint p.admonition-title,
72 div.important p.admonition-title, div.note p.admonition-title,
73 div.tip p.admonition-title {
75 font-family: sans-serif }
77 div.attention p.admonition-title, div.caution p.admonition-title,
78 div.danger p.admonition-title, div.error p.admonition-title,
79 div.warning p.admonition-title {
82 font-family: sans-serif }
84 /* Uncomment (and remove this text!) to get reduced vertical space in
86 div.compound .compound-first, div.compound .compound-middle {
87 margin-bottom:
0.5em }
89 div.compound .compound-last, div.compound .compound-middle {
98 div.dedication p.topic-title {
106 div.footer, div.header {
115 div.line-block div.line-block {
122 border: medium outset ;
124 background-color: #ffffee ;
129 div.sidebar p.rubric {
130 font-family: sans-serif ;
133 div.system-messages {
136 div.system-messages h1 {
140 border: medium outset ;
143 div.system-message p.system-message-title {
150 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
151 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
169 ol.simple, ul.simple {
173 list-style: decimal }
176 list-style: lower-alpha }
179 list-style: upper-alpha }
182 list-style: lower-roman }
185 list-style: upper-roman }
199 white-space: nowrap }
208 font-family: sans-serif ;
213 font-family: sans-serif ;
225 pre.literal-block, pre.doctest-block {
228 background-color: #eeeeee }
231 font-family: sans-serif ;
232 font-style: oblique }
234 span.classifier-delimiter {
235 font-family: sans-serif ;
239 font-family: sans-serif }
242 white-space: nowrap }
250 span.section-subtitle {
251 /* font-size relative to parent (h1..h6 element) */
255 border-left: solid
1px gray;
263 margin-bottom:
0.5em }
266 border-left: solid
1px black;
269 table.docutils td, table.docutils th,
270 table.docinfo td, table.docinfo th {
271 padding-left:
0.5em ;
272 padding-right:
0.5em ;
273 vertical-align: top }
275 table.docutils th.field-name, table.docinfo th.docinfo-name {
278 white-space: nowrap ;
281 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
282 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
286 background-color: #eeeeee }
289 list-style-type: none }
294 <div class=
"document" id=
"sympycore-an-efficient-pure-python-computer-algebra-system">
295 <h1 class=
"title">SympyCore - an efficient pure Python Computer Algebra System
</h1>
296 <table class=
"docinfo" frame=
"void" rules=
"none">
297 <col class=
"docinfo-name" />
298 <col class=
"docinfo-content" />
300 <tr><th class=
"docinfo-name">Authors:
</th>
301 <td>Pearu Peterson
<pearu.peterson AT gmail DOT com
>
302 <br />Fredrik Johansson
<fredrik.johansson AT gmail DOT com
></td></tr>
303 <tr class=
"field"><th class=
"docinfo-name">Website:
</th><td class=
"field-body"><a class=
"reference" href=
"http://sympycore.googlecode.com/">http://sympycore.googlecode.com/
</a></td>
305 <tr class=
"field"><th class=
"docinfo-name">License:
</th><td class=
"field-body">New BSD License
</td>
309 <div class=
"section">
310 <h1><a id=
"history" name=
"history">History
</a></h1>
313 <li>Version
0.1 released on February
29,
2008.
</li>
317 <div class=
"section">
318 <h1><a id=
"download" name=
"download">Download
</a></h1>
319 <p>The latest release can be downloaded from sympycore website.
</p>
320 <p>The latest development code is available via SVN. To check it out,
322 <pre class=
"literal-block">
323 svn checkout http://sympycore.googlecode.com/svn/trunk/ sympycore-svn
327 <div class=
"section">
328 <h1><a id=
"installation" name=
"installation">Installation
</a></h1>
329 <p>To use sympycore, the following is required:
</p>
332 <li>Python
2.5 or newer
</li>
333 <li>optionally, a C/C++ compiler for compiling sympycore
</li>
334 <li>nose for running sympycore tests
</li>
337 <p>To install compiled sympycore, unpack the archive file, change to the
338 sympycore source directory
<tt class=
"docutils literal"><span class=
"pre">sympycore-?.?*
</span></tt> (that contains setup.py
339 file and sympycore directory), and run (requires C/C++ compiler):
</p>
340 <pre class=
"literal-block">
341 python setup.py install
343 <p>To install pure sympycore, copy sympycore source directory to Python
344 path or just add it to PYTHONPATH or sys.path.
</p>
345 <p>To build and use compiled sympycore without installing it, run:
</p>
346 <pre class=
"literal-block">
347 python setup.py build_ext --inplace
350 <div class=
"section">
351 <h1><a id=
"testing" name=
"testing">Testing
</a></h1>
352 <p>To test pure Python sympycore from source directory, run:
</p>
353 <pre class=
"literal-block">
356 <p>To test compiled sympycore from source directory, run:
</p>
357 <pre class=
"literal-block">
358 python setup.py build_ext --inplace test
360 <p>To test installed sympycore, run:
</p>
361 <pre class=
"literal-block">
362 python -c 'from sympycore import test; test()'
364 <p>To test sympycore test coverage, run:
</p>
365 <pre class=
"literal-block">
366 python setup.py test --coverage
369 <div class=
"section">
370 <h1><a id=
"basic-usage" name=
"basic-usage">Basic usage
</a></h1>
371 <p>Import sympycore with
</p>
372 <pre class=
"doctest-block">
373 >>> from sympycore import *
375 <p>that will provide classes like Symbol, Number, Calculus to construct
376 symbolic expressions:
</p>
377 <pre class=
"doctest-block">
378 >>> x = Symbol('x')
379 >>> y = Symbol('y')
383 <p>See the following demo page for more examples:
</p>
385 <a class=
"reference" href=
"http://sympycore.googlecode.com/svn/trunk/doc/html/demo0_2.html">http://sympycore.googlecode.com/svn/trunk/doc/html/demo0_2.html
</a></blockquote>
386 <p>Additional documentation, including SympyCore User's Guide and API
387 documentation, is available online in SympyCore website.
</p>
389 <div class=
"section">
390 <h1><a id=
"help-and-bug-reports" name=
"help-and-bug-reports">Help and bug reports
</a></h1>
391 <p>You can report bugs at the sympycore issue tracker:
</p>
393 <a class=
"reference" href=
"http://code.google.com/p/sympycore/issues/list">http://code.google.com/p/sympycore/issues/list
</a></blockquote>
394 <p>SympyCore website contains links to sympycore mailing lists where one
395 can ask support requests and discuss general sympycore related topics.
396 Any comments and questions can be sent also to the authors.
</p>