Re: [sympy] Interest in advanced physics libraries?

2018-12-03 Thread Robert Semenoff
As far as getting developers onboard, you might show how the idea might be more broadly applicable, in engineering for example. I glanced at Cadabra and their approach to CAS seems to offer that potential. Another example is the openModelica project (physical process modeling and simulation) which

Re: [sympy] Re: Interest in advanced physics libraries?

2018-12-03 Thread Aaron Meurer
That's a pretty broad question. I'm not sure if we have any general documentation on making your own SymPy types with subclassing. In general you don't have to override any methods unless you want to define that behavior. The main thing is to make sure the args of the expression are all Basic and c

[sympy] Re: Interest in advanced physics libraries?

2018-12-03 Thread Nicholas Ondo
Thanks for the responses, I was wondering --is there any tutorial on how to integrate SymPy dependencies into a new module? So let's say I wanted to make my own Tensor class. What does it need to inherit (other than Expr), what methods needs to be implemented, what dunder's need to be overridd

Re: [sympy] Instalar SymPy

2018-12-03 Thread Nathan Goldbaum
Aaron was saying that the issue you're having is a problem with Octave's wrapper around Sympy. Since it's an Octave issue, none of the sympy developers will necessarily have knowledge to help you. You will be more likely to receive useful advice if you ask for this in an Octave support channel (e.g

[sympy] Re: Interest in advanced physics libraries?

2018-12-03 Thread Francesco Bonazzi
On Monday, 3 December 2018 00:00:39 UTC+1, Nicholas Ondo wrote: > > So I'm a former theoretical physicist, and I am interested in writing a > library that will implement important functionality needed for formal HEP > physics/gravitational physics research. There's loads of calculations I > d

Re: [sympy] Instalar SymPy

2018-12-03 Thread Carlos Obiglio
I recently installed Octave 4.4.1 (I had long time Octave 2.2.0 and previous with PKG Symbolic and others). After I load symbolic PKG and define variables with SYMS (at Octave prompt) it tells me that I do not have SymPy installed, the question is how to install SymPy; with the previous version of

[sympy] Re: Interest in advanced physics libraries?

2018-12-03 Thread Kasper Peeters
If anyone, including you, is going to spend serious time on including some of that functionality, I would suggest you have a look first at what is already present in Cadabra (https://cadabra.science). It is possible to re-use its algorithms elsewhere by writing a bit of Python glue code, and po