Comment #20 on issue 3148 by asmeu...@gmail.com: Too many constants from
dsolve()
http://code.google.com/p/sympy/issues/detail?id=3148
The original intention of that was to make it so that the printed form of
the expression shows the constants in order. This is in general impossible,
Comment #21 on issue 3148 by trel...@psu.edu: Too many constants from
dsolve()
http://code.google.com/p/sympy/issues/detail?id=3148
Figured it out. See pull request https://github.com/sympy/sympy/pull/2569
As an example: dsolve((x+1)*f(x).diff(x) - f(x)- 1,f(x))
In master: f(x) = C₁ + C₂ x
Comment #2 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
Doesn't that mean it's an args ordering issue then?
--
You received this message because this project is configured to send all
issue notifications to this
Comment #22 on issue 3148 by asmeu...@gmail.com: Too many constants from
dsolve()
http://code.google.com/p/sympy/issues/detail?id=3148
If the tests are incorrect and they now return the right thing, just fix
the test.
--
You received this message because this project is configured to
On Saturday, November 2, 2013 12:23:00 AM UTC+1, brombo wrote:
Consider Lagrangian field theory where the derivatives are taken with
respect to the gradient of a field. In the case of quantum electrodynamics
with respect to the gradient of a spinor field.
Yes, that would be needed. I
I believe we can make a variable transform and then apply the derivative
using the expression converted to a variable, like:
x = a**2 + c + d**3
x.diff((a + c**2))
changing variables:
v = a + c**2
a = v - c**2
c = (v-a)**0.5
the new x will be:
x2 = (v-c**2)**2 +
just adding... after `x2.diff(v)` the `v` must be replaced by `a + c**2`
again...
2013/11/2 Saullo Castro saullogiov...@gmail.com
I believe we can make a variable transform and then apply the derivative
using the expression converted to a variable, like:
x = a**2 + c + d**3
On Saturday, November 2, 2013 11:46:27 AM UTC+1, Saullo Castro wrote:
I believe we can make a variable transform and then apply the derivative
using the expression converted to a variable, like:
x = a**2 + c + d**3
x.diff((a + c**2))
changing variables:
v = a + c**2
a
To transform the variables solve and to do the back-substitution subs...
2013/11/2 F. B. franz.bona...@gmail.com
On Saturday, November 2, 2013 11:46:27 AM UTC+1, Saullo Castro wrote:
I believe we can make a variable transform and then apply the derivative
using the expression converted
Hello everyone. I have another question, and as topic name says: how can I
sort return of solve, so complex numbers wont be in anymore?
I've seached in flags for it, but no luck, and then I've played with .is_*
attributes and got something wierd(?):
sols = solve(x**3 - 4)
sols = [sol for sol
The issue is that the second and third solution give None, which means
it doesn't know (there's really no good reason for this, but you
generally have to look out for that). Really, those solutions should
be complex.
The attribute you want is is_real.
Another thing you can do is to set x to be
The parsing library is open sourced at
https://github.com/mathquill/mathquillhttps://github.com/mathquill/mathquill#readme
.
It's GPL, though. We can't include any of the source directly in any of
our projects, unless we ask the developers to relicense it.
Aaron, you said that
I'm interested in the discrepancies between the Theano, Cython, and
lambdify code generators. Do Theano and Cython include compile time?
Aaron Meurer
On Fri, Nov 1, 2013 at 5:54 AM, Jason Moore moorepa...@gmail.com wrote:
I've been tinkering with code generation for ODE's that
Probably it is OK. We just have to be careful that we don't take code
from it and put it into something else which is BSD. The LGPL forces
the code to remain separate.
If someone wants to try integrating it, say into SymPy Gamma, that
would be cool. I think a prerequisite would be parsing LaTeX,
But in general, you can't invert formulas (and even if you
mathematically can, it doesn't mean that solve() can do it).
Aaron Meurer
On Sat, Nov 2, 2013 at 8:14 AM, Saullo Castro saullogiov...@gmail.com wrote:
To transform the variables solve and to do the back-substitution subs...
Thanks for the tip. I've tried .is_Real (capital one), because as IDE says
it's basic method, while .is_real related to Interval. That's why I didnt
even try it
In my opinion, x = Symbol('x', real=True) makes it way better to control
and read, so I'll stick to it.
суббота, 2 ноября 2013 г.,
On Saturday, November 2, 2013 5:48:30 PM UTC+1, Aaron Meurer wrote:
But in general, you can't invert formulas (and even if you
mathematically can, it doesn't mean that solve() can do it).
I was just thinking about this, and about the more general case where you
are deriving by unknown
is_Real checks if it is an instance of the Real class, which is not
what you want (this property is deprecated anyway).
is_real on Interval means something completely different. It means the
interval is a real interval, whereas everywhere else it x.is_real
means that x is a real number.
Aaron
It might help to take a look at
SymbolicC++http://issc.uj.ac.za/symbolic/symbolic.html
.
--
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
Wait, why is x.diff(f(x)) not 0? We discussed this quite at length
when we first implemented the ability to do this (you can probably
find the discussion on the mailing list if you search for it), and we
came to the conclusion that dF(x, f(x))/df(x) as used in variational
calculus means nothing
Hi Marduk,
On Sat, Nov 2, 2013 at 6:03 PM, Marduk mar...@ciencias.unam.mx wrote:
It might help to take a look at SymbolicC++.
Thanks for the suggestion. I have in fact looked at SymbolicC++ when I
was benchmarking CSymPy ---
I implemented the simple benchmark in my expand
branch here:
Le 01/11/13 11:54, Jason Moore a écrit :
I've been tinkering with code generation for ODE's that
sympy.physics.mechanics spits out and have some results:
http://www.moorepants.info/blog/pydy-code-gen.html
Several people have posted topics on this recently. We need to build in
a code generator
22 matches
Mail list logo