[sympy] FYI: LaTeX support on Gitter

2014-10-15 Thread Jason Moore
http://blog.gitter.im/maths-geeks-take-note/ Jason moorepants.info +01 530-601-9791 -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com.

Re: [sympy] SymPy Integration

2014-10-13 Thread Jason Moore
Great! This is our introduction to contributing if you haven't contributed before: https://github.com/sympy/sympy/wiki/introduction-to-contributing Jason moorepants.info +01 530-601-9791 On Mon, Oct 13, 2014 at 1:46 PM, Zach Leaman zjlea...@gmail.com wrote: Hi Everyone, My friend, Dan

Re: [sympy] Where to start for a newbie

2014-10-12 Thread Jason Moore
Sunny, Here is our introduction to contributing page on our wiki: https://github.com/sympy/sympy/wiki/Beginner%27s-introduction-to-contributing That should help you get started. Jason moorepants.info +01 530-601-9791 On Sun, Oct 12, 2014 at 1:45 PM, Sunny Aggarwal sunnyaggarwal1...@gmail.com

Re: [sympy] Where to start for a newbie

2014-10-12 Thread Jason Moore
Sorry I shortened the link: https://github.com/sympy/sympy/wiki/introduction-to-contributing Jason moorepants.info +01 530-601-9791 On Sun, Oct 12, 2014 at 3:35 PM, Jason Moore moorepa...@gmail.com wrote: Sunny, Here is our introduction to contributing page on our wiki: https

Re: [sympy] isympy -i in IPython

2014-10-02 Thread Jason Moore
import sympy sympy.init_session(auto_symbols=True) Jason moorepants.info +01 530-601-9791 On Thu, Oct 2, 2014 at 8:56 AM, Christophe Bal projet...@gmail.com wrote: Hello, is there a way to have the features given by isympy -i in IPython ? Christoohe BAL -- You received this message

Re: [sympy] isympy -i in IPython

2014-10-02 Thread Jason Moore
Mateusz has the correct flag. Jason moorepants.info +01 530-601-9791 On Thu, Oct 2, 2014 at 9:36 AM, Jason Moore moorepa...@gmail.com wrote: import sympy sympy.init_session(auto_symbols=True) Jason moorepants.info +01 530-601-9791 On Thu, Oct 2, 2014 at 8:56 AM, Christophe Bal projet

Re: [sympy] git rebase question

2014-10-01 Thread Jason Moore
The issue with rebasing is that if you release code publicly, other people can clone it, then the rebase changes the history but the history isn't changed on everyone else's clone so things get harry. Rebasing changes the history, so it should only be done when you are the only person who's seen

Re: [sympy] Re: The slowest of the slow

2014-09-26 Thread Jason Moore
BTW, Peter, did that kane3 test pass on your machine? Jason moorepants.info +01 530-601-9791 On Fri, Sep 26, 2014 at 11:27 AM, Jason Moore moorepa...@gmail.com wrote: It is certainly too slow to be a useful test. But that example should be available to run at least before any SymPy release

Re: [sympy] Re: The slowest of the slow

2014-09-26 Thread Jason Moore
It is certainly too slow to be a useful test. But that example should be available to run at least before any SymPy release. We have many unit tests in the mechanics package, but that example provides a minimal example that exercises almost all of the functionality in the Kane class. I'd

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
David, This is because it wasn't wrapping lines correctly in the generated Fortran code. If you use the development version of SymPy it should work. Here is the PR that fixed it: https://github.com/sympy/sympy/pull/7968 Jason moorepants.info +01 530-601-9791 On Thu, Sep 25, 2014 at 3:42 PM,

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
-9791 On Thu, Sep 25, 2014 at 4:29 PM, Jason Moore moorepa...@gmail.com wrote: David, This is because it wasn't wrapping lines correctly in the generated Fortran code. If you use the development version of SymPy it should work. Here is the PR that fixed it: https://github.com/sympy/sympy

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
demo.py to have ufuncify generate code that has a single length-N array argument instead of N separate arguments? On Thursday, September 25, 2014 3:40:25 PM UTC-5, Jason Moore wrote: It works for the backend='f2py' in master but fails for the default backend which is 'numpy'. I get a segmentation

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
to convert my demo.py to have ufuncify generate code that has a single length-N array argument instead of N separate arguments? On Thursday, September 25, 2014 3:40:25 PM UTC-5, Jason Moore wrote: It works for the backend='f2py' in master but fails for the default backend which is 'numpy'. I

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
parameters. These small summand functions are composed of basic operations like multiplication, addition, and exp(). On Thursday, September 25, 2014 4:21:32 PM UTC-5, Jason Moore wrote: I see. What does your function look like? Does it have summations or things you want to iterate over

Re: [sympy] variable limit in ufuncify?

2014-09-25 Thread Jason Moore
it (for example by using an alternative loss function or regularization penalty function), then you kind of need to roll out your own implementation. From what you are saying, it sounds like sympy is not well-suited for this type of task. On Thursday, September 25, 2014 5:31:27 PM UTC-5, Jason Moore

[sympy] Fwd: Python Weekly - Issue 157

2014-09-18 Thread Jason Moore
Jim's slides on SymPy code gen got into the Python weekly. Jason moorepants.info +01 530-601-9791 -- Forwarded message -- From: Python Weekly ra...@pythonweekly.com Date: Thu, Sep 18, 2014 at 11:06 AM Subject: Python Weekly - Issue 157 To: moorepa...@gmail.com Email not

Re: [sympy] Hard system of symbolic equations

2014-09-05 Thread Jason Moore
Is A dense or sparse? Solving a linear system of 100 equations and 100 unknowns is not something that symbolic solvers are generally good at. For example, I don't think you aren't guaranteed to have good numerical conditioning for the expressions for x. Is it required that you have symbolic

Re: [sympy] Hard system of symbolic equations

2014-09-05 Thread Jason Moore
The matrix solvers are not implemented with parallel algorithms. Jason moorepants.info +01 530-601-9791 On Fri, Sep 5, 2014 at 12:28 PM, Andrea Fresu andreafres...@gmail.com wrote: A is dense and symbolic expressions are required for the values of x. No way.. However what about that only

Re: [sympy] Symbolic simplification of large trig expressions

2014-09-02 Thread Jason Moore
This is typical behavior. Solving a 9 x 9 linear system will result in long expressions. If you want to print them it will take time to parse the tree because the expression is huge. Also, running the simplication routines on very large expressions will also take a long time and may never even

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-29 Thread Jason Moore
a keyword to mark arguments to indicate that they won't be aliased, but that requires that the code generator and the compiler support them. Cheers, Tim. On 2014-08-28, at 2:17 PM, Jason Moore moore...@gmail.com wrote: Jim and others, Here are the benchmarks I made yesterday: http

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-29 Thread Jason Moore
Here is some work on the pow issue: https://github.com/sympy/sympy/pull/7519 Looks like it was merged so the ccode printer should print x*x*x... for less that 10 x's. Jason moorepants.info +01 530-601-9791 On Fri, Aug 29, 2014 at 7:33 AM, Jason Moore moorepa...@gmail.com wrote: Jason

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-29 Thread Jason Moore
Sorry, it wasn't merged. He found that the --fast-math flag in the complier takes care of this. Jason moorepants.info +01 530-601-9791 On Fri, Aug 29, 2014 at 10:37 AM, Jason Moore moorepa...@gmail.com wrote: Here is some work on the pow issue: https://github.com/sympy/sympy/pull/7519

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-28 Thread Jason Moore
was a small improvement, but it was still slower than the pure numpy-python version. Something to look into. On Wed, Aug 27, 2014 at 10:28 PM, Jason Moore moorepa...@gmail.com wrote: Yeh, but if you simply create a ufunc for each expression in a matrix you still get substantial speedups. I wrote

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-27 Thread Jason Moore
Awesome. I was working on this today but it looks like you've by passed what I had working. Do you have a PR with this? Jason moorepants.info +01 530-601-9791 On Wed, Aug 27, 2014 at 11:11 PM, Matthew Rocklin mrock...@gmail.com wrote: Cool On Wed, Aug 27, 2014 at 8:07 PM, James Crist

Re: [sympy] ufuncify now creates actual ufuncs

2014-08-27 Thread Jason Moore
wrote it this morning during an extremely boring meeting, and haven't had a chance to clean it up. This doesn't solve your problem about broadcasting a matrix calculation though... On Wed, Aug 27, 2014 at 10:23 PM, Jason Moore moorepa...@gmail.com wrote: Awesome. I was working on this today

Re: [sympy] latex notebook printing of lists of custom classes

2014-08-26 Thread Jason Moore
Maybe you need to override this function: https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py#L90 Notice how some odd classes that don't fit the sympy standards have special cases. Try adding your class to that list and see if it works. Jason moorepants.info +01

Re: [sympy] starter looking for contribution

2014-08-26 Thread Jason Moore
Vaibhav, Welcome. If you search the archive of the sympy email list for this same question you'll find lots of answers to get you started. https://groups.google.com/forum/#!forum/sympy Jason moorepants.info +01 530-601-9791 On Tue, Aug 26, 2014 at 12:15 PM, vaibhav kumar

Re: [sympy] Custom latex printing in ipython notebook

2014-08-24 Thread Jason Moore
Alan, We wrapped the init_printing function in the sympy.physics.vector package. So you can call sympy.physics.vector.init_vprinting() to turn our our custom printers. See https://github.com/sympy/sympy/blob/master/sympy/physics/vector/printing.py#L377 Jason moorepants.info +01 530-601-9791

Re: [sympy] newby to Sympy

2014-08-15 Thread Jason Moore
time i am attempting to join an organisation. I need help On Thursday, July 31, 2014 2:00:15 AM UTC+5:30, Jason Moore wrote: 1. Go through the dev workflow page: https://github.com/sympy/ sympy/wiki/Development-workflow and setup your development environment (git, github, python, etc). 2

Re: [sympy] dynamics and IPython notebook

2014-08-14 Thread Jason Moore
) - diff(L,x) Out[1]: gm+mx¨ On Wednesday, August 13, 2014 10:24:47 PM UTC-7, Jason Moore wrote: Oh, you should use sympy.physics.vector.init_printing() If you want the dot notation in latex in your notebooks. Jason moorepants.info +01 530-601-9791 On Wed, Aug 13, 2014 at 10:23 PM

Re: [sympy] dynamics and IPython notebook

2014-08-13 Thread Jason Moore
You can subclass a printer and have it do what you want. You can see here: https://github.com/sympy/sympy/blob/master/sympy/physics/vector/printing.py#L145 where we subclass the latex printer and get the \dot{} notation for derivatives, for example. There is also an example here:

Re: [sympy] dynamics and IPython notebook

2014-08-13 Thread Jason Moore
Oh, you should use sympy.physics.vector.init_printing() If you want the dot notation in latex in your notebooks. Jason moorepants.info +01 530-601-9791 On Wed, Aug 13, 2014 at 10:23 PM, Jason Moore moorepa...@gmail.com wrote: You can subclass a printer and have it do what you want. You can

Re: [sympy] vector calculus (cylindrical/spherical coordinates)

2014-08-12 Thread Jason Moore
Thomas, Sachin just submitted a Cartesian based vector calc package to sympy for this summer's GSoC: https://github.com/sympy/sympy/tree/master/sympy/vector The new documentation for this should be available this week. Adding new CoordinateSystems like Spherical, etc should be relatively

Re: [sympy] Matrix Code Generation Opinion Thread

2014-08-05 Thread Jason Moore
Yes, the Theano bridge solves this problem in some sense, except that Theano is weak in speeding up the long scalar expression computations. Jason moorepants.info +01 530-601-9791 On Tue, Aug 5, 2014 at 7:48 AM, Matthew Rocklin mrock...@gmail.com wrote: @Matthew: Thanks, I think a lot of

Re: [sympy] Matrix Code Generation Opinion Thread

2014-08-04 Thread Jason Moore
Jason moorepants.info +01 530-601-9791 On Mon, Aug 4, 2014 at 3:27 PM, James Crist crist...@umn.edu wrote: I'm working on adding support ofr codegeneration with Matrix objects. Currently an `indexed` type is supported that results in low-level contiguous arrays. These are always converted

Re: [sympy] SymPy vs. Sage Comparison Wiki Page

2014-08-01 Thread Jason Moore
The wiki is just a git repo. You can clone it locally and push to it. Jason moorepants.info +01 530-601-9791 On Fri, Aug 1, 2014 at 3:18 PM, Tim Lahey tim.la...@gmail.com wrote: Is there another way to update the Wiki pages other than the web editor? It seems a bit tedious to update each

Re: [sympy] newby to Sympy

2014-07-30 Thread Jason Moore
1. Go through the dev workflow page: https://github.com/sympy/sympy/wiki/Development-workflow and setup your development environment (git, github, python, etc). 2. Browse through the easy to fix issues: https://github.com/sympy/sympy/issues?q=is%3Aopen+is%3Aissue+label%3A%22Easy+to+Fix%22 and see

Re: [sympy] Missing functions in sympy.physics.vector

2014-07-29 Thread Jason Moore
It has the correct answer on SO. Jason moorepants.info +01 530-601-9791 On Mon, Jul 28, 2014 at 7:06 PM, Sudhanshu Mishra mrsu...@gmail.com wrote: This question was asked on the stackoverflow. http://stackoverflow.com/questions/25006834/missing-functions-in-sympy-physics-vector -- You

Re: [sympy] Re: Getting `nan` or `oo` after subs when not simplified

2014-07-17 Thread Jason Moore
Jim, You can use SymPy's arbitrary precision methods to evaluate the expressions but they will be very slow which is only useful for tiny toy problems. Lambdify and the codegen stuff simply write code that evaluates the expressions to floating point precision. Ondrej mentioned that this code be

Re: [sympy] Beginner.How should i get started.

2014-07-10 Thread Jason Moore
One good way to start is to do the tutorial: http://docs.sympy.org/latest/tutorial/index.html (video version: https://www.youtube.com/watch?v=Lgp442bibDM). The advanced sections will give some idea of how expressions are stored in trees and such. Next, go through the dev environment setup:

[sympy] Re: Meeting sometime this week?

2014-07-10 Thread Jason Moore
to merge. Jason moorepants.info +01 530-601-9791 On Wed, Jul 9, 2014 at 11:52 AM, Frédéric Bastien no...@nouiz.org wrote: On Wed, Jul 9, 2014 at 12:21 PM, Jason Moore moorepa...@gmail.com wrote: [...] Alot of this functionality exists in SymPy. Read the code printers, the code gen

[sympy] Re: Meeting sometime this week?

2014-07-09 Thread Jason Moore
try to go next year. Thanks! -Jim On Wed, Jul 9, 2014 at 10:34 AM, Jason Moore moorepa...@gmail.com wrote: Jim, I was just talking with Matthew Rocklin about this. I think we can update the C code and Fortran code printers to deal with Inverse(). If we support dgesv (general linear

Re: [sympy] Displaying lists in ipython notebook

2014-07-08 Thread Jason Moore
The code for displaying lists and tuples of sympy objects is here: https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py You should just be able to do something like: x = symbols('x') [x, x, x] and it should render correctly. Jason moorepants.info +01 530-601-9791 On Tue,

Re: [sympy] Displaying lists in ipython notebook

2014-07-08 Thread Jason Moore
Sorry, the tuple and list code is here: https://github.com/sympy/sympy/blob/master/sympy/printing/latex.py#L1318 Jason moorepants.info +01 530-601-9791 On Tue, Jul 8, 2014 at 8:52 PM, Jason Moore moorepa...@gmail.com wrote: The code for displaying lists and tuples of sympy objects is here

Re: [sympy] Displaying lists in ipython notebook

2014-07-08 Thread Jason Moore
...@verizon.net wrote: On 07/08/2014 09:55 PM, Jason Moore wrote: Sorry, the tuple and list code is here:https://github.com/sympy/sympy/blob/master/sympy/printing/latex.py#L1318 Jasonmoorepants.info +01 530-601-9791 On Tue, Jul 8, 2014 at 8:52 PM, Jason Moore moorepa...@gmail.com moorepa

Re: [sympy] PDB and tests

2014-07-08 Thread Jason Moore
I typically use `ipython --pdb` then import and run the specific test in the interpreter. Jason moorepants.info +01 530-601-9791 On Tue, Jul 8, 2014 at 9:04 PM, Tim Lahey tim.la...@gmail.com wrote: Hi, Is there an easy way to run a test and trace the execution in PDB? There's a test that

[sympy] Re: A faster (but *only* should be used for its design case in sympy.physics.mechanics) subs. Please Review

2014-07-03 Thread Jason Moore
Yeah, it looks good. I've totally been needing this for some work I'm doing too. The fact that mechanics expressions are a small subset of sympy expressions is a good reason to optimize stuff like this. In the docstring 3.) trig_funcs aren't the only type of functions. I think you will need to

[sympy] Re: A faster (but *only* should be used for its design case in sympy.physics.mechanics) subs. Please Review

2014-07-03 Thread Jason Moore
that? Or would the limit as a goes to zero be the only way to get the correct answer? Jason moorepants.info +01 530-601-9791 On Thu, Jul 3, 2014 at 9:00 AM, Jason Moore moorepa...@gmail.com wrote: Yeah, it looks good. I've totally been needing this for some work I'm doing too. The fact that mechanics

[sympy] Re: A faster (but *only* should be used for its design case in sympy.physics.mechanics) subs. Please Review

2014-07-03 Thread Jason Moore
so that they avoid expressions like that. An idea for this particular case is to never use tan, only sin/cos. I don't know if that generalizes, though. Aaron Meurer On Thu, Jul 3, 2014 at 8:05 AM, Jason Moore moorepa...@gmail.com wrote: Also, sin(a)/tan(a).subs(a, 0) nan simplify(sin

Re: [sympy] Writing Documentation for GA module

2014-06-03 Thread Jason Moore
Wikipedia lets the user select the math renderer, but you have to have a wikipedia account. I suspect we could have a little JS button on every sympy page that let you toggle one or the other with the default as png for fast load times. But that of course takes more work. Jason moorepants.info

[sympy] Re: Linearize Method Interface - Opinion Thread

2014-05-28 Thread Jason Moore
Jason moorepants.info +01 530-601-9791 On Wed, May 28, 2014 at 12:06 PM, James Crist crist...@umn.edu wrote: I'm working on methods to linearize the equations of motion (EOM) generated in sympy.physics.mechanics. The goal is to have a function `linearize` that can take in a `KanesMethod`,

Re: [sympy] Planet SymPy

2014-05-21 Thread Jason Moore
I've been using digg.com/reader Jason moorepants.info +01 530-601-9791 On Wed, May 21, 2014 at 3:52 PM, Aaron Meurer asmeu...@gmail.com wrote: Anyone know an easy way to go from Planet - Twitter bot? That would make it easier at least for me to follow it. Aaron Meurer On Wed, May 21,

[sympy] skip builds on travis

2014-05-15 Thread Jason Moore
I just noticed this feature: http://docs.travis-ci.com/user/how-to-skip-a-build/ We could start promoting use of this in WIP PRs and any other commit that don't need to run. It could potentially speed up the testing queue significantly. Jason moorepants.info +01 530-601-9791 -- You received

[sympy] Fwd: [IPython-dev] IPython (terminal Notebook) 2.0.0 on Sailfish OS

2014-05-06 Thread Jason Moore
This shows sympy running on SailfishOS under IPython. Jason moorepants.info +01 530-601-9791 -- Forwarded message -- From: Roberto Colistete Jr. roberto.colist...@gmail.com Date: Tue, May 6, 2014 at 1:24 AM Subject: [IPython-dev] IPython (terminal Notebook) 2.0.0 on Sailfish OS

Re: [sympy] My SciPy tutorial was accepted

2014-04-27 Thread Jason Moore
Hi Aaron, The PyDy tutorial was accepted too. I'm figuring out my schedule but pretty sure I'm going to come down to Austin. I've signed up for way too many conferences this summer though, so I'm a little on the edge and need to confirm with my boss that he's cool with it. So, if I come, I can

Re: [sympy] Speeding up and reducing memory footprint of matrix evaulations

2014-04-25 Thread Jason Moore
Do you use scipy.sparse? I has sparse solvers that should able to compute L.inv()*R efficiently and then supports addition, multiplication and squaring. Why do you get crappy eigenvalues when doing this numerically? Secondly, shouldn't you use

Re: [sympy] Speeding up and reducing memory footprint of matrix evaulations

2014-04-25 Thread Jason Moore
Does this work for you? from __future__ import division import numpy as np from scipy.sparse import csr_matrix from scipy.sparse.linalg import spsolve def get_matrix(filename): d = np.zeros(238) row = np.zeros(238) col = np.zeros(238) with open(filename,'r') as f: for k,

Re: [sympy] including external forces with KanesMethod of LagrangesMethod

2014-04-23 Thread Jason Moore
: Jason, The problem was indeed that 't' was not available as a variable for odeint. Thanks a lot! Op dinsdag 22 april 2014 21:38:06 UTC+2 schreef Jason Moore: Kevin, Here is another example of doing that: https://github.com/pydy/pydy#usage-1 Jason moorepants.info +01 530-601-9791

Re: [sympy] Questions about the goals of CSymPy

2014-04-23 Thread Jason Moore
Yeah, all I'm planning to do on that PR is to make a hack that inserts csympy data types into the core mechanics objects (Vectors, Dyadics, etc). The nice thing about the vector and mechanics module is that we only use symbols, functions, differentiation, addition, multiplication, basic trig

Re: [sympy] including external forces with KanesMethod of LagrangesMethod

2014-04-22 Thread Jason Moore
Kevin, You are correct, you should include the force, sin(b*t), in the force list. Then KanesMethod, for example will give you: Mx' = f(x, t) The force, sin(b*t), will be explicitly in the f(x, t) portion. You can then think of it as: Mx' = f_(x) + u(t) where u(t) = sin(b * t) Then when you

Re: [sympy] Re: Web Backend for SymPy

2014-04-22 Thread Jason Moore
Sahil, Web based plotting is something that many people desire and are working on at the moment. One or more of the existing projects (or a new one) are going to be the next generation plotting that everyone uses. SymPy, on the other hand, doesn't really need to compete in this plotting race, we

Re: [sympy] Re: Web Backend for SymPy

2014-04-22 Thread Jason Moore
. Is it fixed? I can try and solve it! On Tuesday, March 18, 2014 10:38:04 PM UTC+5:30, Jason Moore wrote: Also, note that even though WebGL is supported in most of the latest browser versions, this will not work with a lot of peoples systems. We've had tons of trouble getting the visualizations

Re: [sympy] including external forces with KanesMethod of LagrangesMethod

2014-04-22 Thread Jason Moore
Kevin, Here is another example of doing that: https://github.com/pydy/pydy#usage-1 Jason moorepants.info +01 530-601-9791 On Tue, Apr 22, 2014 at 8:00 AM, Jason Moore moorepa...@gmail.com wrote: Kevin, You are correct, you should include the force, sin(b*t), in the force list

Re: [sympy] Installtion in a shared server

2014-04-20 Thread Jason Moore
If you have a server, you can simply install SymPy as a system wide install so that all users logged into the server have access to the program. How would you not have access to a command prompt on a shared server? Even if you can't open a terminal then I suppose you can open a program like IDLE

Re: Private message regarding: [sympy] Installtion in a shared server

2014-04-20 Thread Jason Moore
and they have restricted access to the phyton command prompt access On Monday, April 21, 2014 3:11:48 AM UTC+5:30, Jason Moore wrote: If you have a server, you can simply install SymPy as a system wide install so that all users logged into the server have access to the program. How would you not have

Re: Private message regarding: Private message regarding: [sympy] Installtion in a shared server

2014-04-20 Thread Jason Moore
and I can upload .py files to this server so that it executes and give the output. I do not have shell access. On Monday, April 21, 2014 3:27:59 AM UTC+5:30, Jason Moore wrote: What operating system is it and do you have shell access, GUI access, or both? How do you interact with Python

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
Sphinx allows you to introduce jinja templates to override their defaults. I think all you have to do is copy the correct template that Sphinx is already using, modify it to your liking, and drop it in the _templates directory: http://sphinx-doc.org/templating.html Jason moorepants.info +01

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
could use the patch from a current version of sympy when building previous doc versions? Jason moorepants.info +01 530-601-9791 On Wed, Apr 16, 2014 at 8:17 AM, Jason Moore moorepa...@gmail.com wrote: Sphinx allows you to introduce jinja templates to override their defaults. I think all you

Re: [sympy] Taking down older versions of our docs

2014-04-16 Thread Jason Moore
I guess this doesn't matter. We will just have to generate the old docs with the new warning manually for each release. Jason moorepants.info +01 530-601-9791 On Wed, Apr 16, 2014 at 8:43 AM, Jason Moore moorepa...@gmail.com wrote: I started implementing something for this, but I don't know

Re: [sympy] Taking down older versions of our docs

2014-04-15 Thread Jason Moore
It should be fairly easy to have an if statement in the jinja templates that shows a warning and link to the newer docs only if the docs aren't the latest. I think we should leave old docs available and just add the warning. readthedocs does this automatically for you, I believe. Jason

[sympy] Re: [IPython-dev] SymPy printing in the ipython notebook

2014-04-04 Thread Jason Moore
Hi Richard, I don't think SymPy has tested with IPython 2.0 yet. It is possible that the printing is no broken... It should display in mathjax/latex by default in the notebook and pretty print in the terminal. If you don't mind please submit an issue on github to the main sympy repository.

Re: [IPython-dev] [sympy] Re: SymPy printing in the ipython notebook

2014-04-04 Thread Jason Moore
, Jason Moore moorepa...@gmail.com wrote: Hi Richard, I don't think SymPy has tested with IPython 2.0 yet. It is possible that the printing is no broken... It should display in mathjax/latex by default in the notebook and pretty print in the terminal. If you don't mind please submit an issue

[sympy] Fwd: [IPython-dev] Interactive visualization in the IPython notebook 2.0

2014-04-03 Thread Jason Moore
This is very relevant to the discussions of having 3D plotting in SymPy with three.js. Jason moorepants.info +01 530-601-9791 -- Forwarded message -- From: Jason Grout jason-s...@creativetrax.com Date: Thu, Apr 3, 2014 at 12:40 PM Subject: Re: [IPython-dev] Interactive

Re: [sympy] Add multiple dispatch as external dependency

2014-04-02 Thread Jason Moore
Is it possible to move the main repository for mutlipledispatch under the sympy github org and grant the core sympy devs commit rights? Jason moorepants.info +01 530-601-9791 On Wed, Apr 2, 2014 at 4:22 AM, Joachim Durchholz j...@durchholz.org wrote: Am 02.04.2014 04:10, schrieb Matthew

Re: [sympy] Sympy magic methods and class tree

2014-03-30 Thread Jason Moore
Hi Richard, What is the big picture of what you want to do? And if you post your code it is easier for us to understand the details and we can help you. sympy.physics.vector.Vector unfortunately and/or fortunately does not subclass from basic SymPy types. The reason is that the current vectors

Re: [sympy] Sympy magic methods and class tree

2014-03-30 Thread Jason Moore
Also, this might help: http://docs.sympy.org/latest/guide.html#sympy-s-architecture Jason moorepants.info +01 530-601-9791 On Sun, Mar 30, 2014 at 8:21 AM, Jason Moore moorepa...@gmail.com wrote: Hi Richard, What is the big picture of what you want to do? And if you post your code

Re: [sympy] Sympy magic methods and class tree

2014-03-30 Thread Jason Moore
Some classes like Matrices create new MatAdd, MatMul classes for specialty operations. The new vector class we will hopefully implement soon will also follow this pattern. I'd say the best way to see what to do is probably reading the SymPy source code. For example, on

Re: [sympy] Re: Issue migration from Google Code to GitHub

2014-03-28 Thread Jason Moore
Yes, applause! Thanks for doing this. Jason moorepants.info +01 530-601-9791 On Thu, Mar 20, 2014 at 6:23 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: I totally missed this, this is absolutely fantastic! Thanks a lot Sergey and Aaron for all the work. That helps a lot. Ondrej On Fri,

[sympy] Will anyone be at PyCon?

2014-03-28 Thread Jason Moore
Several PyDy folks will be there. We will sprint on the 14th and on the tutorial days. Let's connect if you are there. Jason moorepants.info +01 530-601-9791 -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop

Re: Private message regarding: [sympy] SymPy for RhinoPython?

2014-03-25 Thread Jason Moore
if there is any way it can be used from RhinoPython. Any idea in this regard will be appreciated! LL On Monday, March 24, 2014 3:59:07 PM UTC+1, Jason Moore wrote: What is RhinoPython? Jason moorepants.info +01 530-601-9791 On Mon, Mar 24, 2014 at 5:59 AM, LLuis Enrique lluis.enr

Re: [sympy] SymPy for RhinoPython?

2014-03-24 Thread Jason Moore
What is RhinoPython? Jason moorepants.info +01 530-601-9791 On Mon, Mar 24, 2014 at 5:59 AM, LLuis Enrique lluis.enrique.mo...@gmail.com wrote: Hi all! I would like to know if it is possible to access the SymPy library from RhinoPython. Best Regards, LL -- You received this

[sympy] Fwd: Python Weekly - Issue 131

2014-03-20 Thread Jason Moore
Some press in Python Weekly! Jason moorepants.info +01 530-601-9791 -- Forwarded message -- From: Python Weekly ra...@pythonweekly.com Date: Thu, Mar 20, 2014 at 11:04 AM Subject: Python Weekly - Issue 131 To: moorepa...@gmail.com Email not displaying correctly? View it

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-19 Thread Jason Moore
Is there any reason not to use MathBox.js? Seems like you'll have to write very similar code to what is already implemented there. Jason moorepants.info +01 530-601-9791 On Wed, Mar 19, 2014 at 9:07 PM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: Aaron, But i have proposed something

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
There are a lot people working on plotting in the browser, many of them tied to python execution. There probably isn't much reason to reinvent the wheel here. This is another more simple project that implements a d3.js backend for matplotlib: mpld3.github.io . Also there matplotlib has a webagg

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
Correction: My hunch is that 99% of sympy use is local, ... Jason moorepants.info +01 530-601-9791 On Tue, Mar 18, 2014 at 10:25 AM, Jason Moore moorepa...@gmail.com wrote: My suggestion on melange was just to mention that if you only focus on 3D plotting for SymPy Gamma then we are missing

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
something. On Tue, Mar 18, 2014 at 6:32 PM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: So, how can i improve sympy then? I mean you said that we want 3D plotting for SymPy as a whole. so , how can i improve that? On Tue, Mar 18, 2014 at 6:17 PM, Jason Moore moorepa...@gmail.comwrote

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
at 10:32 AM, SAHIL SHEKHAWAT sahilshekhawa...@gmail.com wrote: But we do support 3D plotting by matplotlib and also you mentioned that a lot of people are working on making it browser compatible. Sorry if i am irritating but i just want to clarify. On Tue, Mar 18, 2014 at 7:55 PM, Jason Moore

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
On Tue, Mar 18, 2014 at 10:57 AM, Jason Moore moorepa...@gmail.com wrote: If we already use matplotlib for 3D plotting, then a long term solution to this is to add three.js to the web backend of any one of the new plotting libraries that are popping up (bokeh, mpld3, matplotlib's webagg backend

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
, 2014 at 8:28 PM, Jason Moore moorepa...@gmail.com wrote: But even if you implement something with Mathbox.js then it would be nice if users can use it locally or through Live/Gamma. That is the approach with took with pydy-viz. Right now we can run them locally and if you want embed

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
, 2014 at 8:52 PM, Jason Moore moore...@gmail.com wrote: https://github.com/pydy/pydy-viz We basically generate data on the python side, then write a json file to disk, then we have a generic html/js/css template that uses three.js to load in all the data from the json file and create

Re: [sympy] [GSoC] D3.js and Three.js backend for our plotting module

2014-03-18 Thread Jason Moore
uses it as a fallback option if there is no WebGL. On Tue, Mar 18, 2014 at 10:38 PM, Jason Moore moorepa...@gmail.comwrote: Also, note that even though WebGL is supported in most of the latest browser versions, this will not work with a lot of peoples systems. We've had tons of trouble

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-17 Thread Jason Moore
I'm still digesting what Matthew and Max wrote. Lots of new words for me :) But here is a simple example taken from C code we generate for a simple 2 link pendulum. First the C code with SymPy's CSE expressions automatically generated: #include math.h #include multibody_system_c.h void

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-17 Thread Jason Moore
-and-main-memory On Mon, Mar 17, 2014 at 10:21 AM, Jason Moore moorepa...@gmail.comwrote: I'm still digesting what Matthew and Max wrote. Lots of new words for me :) But here is a simple example taken from C code we generate for a simple 2 link pendulum. First the C code with SymPy's CSE

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-17 Thread Jason Moore
Overflow or the Computational Science SE [2] might be able to help. Hopefully someone else on this list can help with DAGs and SymPy. Max [1] http://www.top500.org/project/linpack/ [2] http://scicomp.stackexchange.com/ On Mon, Mar 17, 2014 at 11:13 AM, Jason Moore moorepa

[sympy] Very nice differential drive robot example from James

2014-03-17 Thread Jason Moore
James has submitted this nice PR into the pydy examples repo: http://nbviewer.ipython.org/github/jcrist/pydy_examples/blob/master/differential_drive/Differential%20Drive.ipynb?create=1 Comments can be made here: https://github.com/pydy/pydy_examples/pull/18 It shows how to model a three

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-17 Thread Jason Moore
consider common sub-expressions then repeated branches of these trees get merged. The result is a DAG. On Mon, Mar 17, 2014 at 9:42 AM, Jason Moore moorepa...@gmail.comwrote: Thanks Max. I'll look into the FLOP counting as you suggest. Matthew has created visual DAG's before, I'm just

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-17 Thread Jason Moore
this give 17k. In the same ball park for this estimation:) Can you just run this function on many inputs in parallel? It would be easier to parallelize an outer loop then this. Fred On Mon, Mar 17, 2014 at 11:21 AM, Jason Moore moorepa...@gmail.com wrote: I'm still digesting what Matthew

Re: [sympy] GSOC 2014 Idea: Control Theory

2014-03-16 Thread Jason Moore
=aa5f7955d910961c374bbda6868a ). http://pastie.org/private/woqxo2cqgt8c7qdicyxr9q W dniu wtorek, 11 marca 2014 21:54:41 UTC+1 użytkownik Jason Moore napisał: Maciej, Can you provide us with some example SymPy code demonstrating how you want the control tool box to work? Jason

[sympy] Parallel evaluation of a mathematical expression

2014-03-16 Thread Jason Moore
In the mechanics package we generate very long mathematical expressions which we then want to evaluate numerically as fast as possible. To do this, we generate code in a low level language and typically use common subexpression elimination as a pre-compile optimization step*. I'm wondering if

Re: [sympy] Parallel evaluation of a mathematical expression

2014-03-16 Thread Jason Moore
a list or task ready to run and the openmp back-end will run it. each task could just add more tasks to that list when it finished. Fred On Sun, Mar 16, 2014 at 9:30 PM, Jason Moore moorepa...@gmail.com wrote: In the mechanics package we generate very long mathematical expressions which we

<    4   5   6   7   8   9   10   11   >