You might be interested in Theano and in the SymPy->Theano printers.
On Fri, Feb 7, 2014 at 6:18 PM, Vlad Seghete wrote:
> Last time I checked what I want to do was not possible using sympy but
> several versions have come out since then, adding a few features that I
> just can't get to work.
>
Thanks for posting this on the mailing list.
There's also a bug in the new `solve_univariate_inequalities`
```
In [2]: x = Symbol('x', positive=True)
In [3]: y = Symbol('y')
In [4]: solve_univariate_inequality(exp(x) > 1, x)
Out[4]: False
In [5]: solve_univariate_inequality(exp(y) > 1, y
On Friday, February 7, 2014 7:54:33 PM UTC-6, Aaron Meurer wrote:
>
> I don't think the Indexed objects are real tensors. They were designed
> for use with the code generation module. It would be better to get
> this functionality with the new tensor module, I think (assuming my
> understanding
Last time I checked what I want to do was not possible using sympy but
several versions have come out since then, adding a few features that I
just can't get to work.
First, what I am already doing is generating numpy arrays containing
(large) sympy expressions in each element. Currently I am e
> What do you mean it will break compatibility? Of course, any code that
> writes hermite(2, x) and expects a polynomial will break, but that's
> the point of the change.
That is exactly what I mean. And this may occur deep within
some other algorithms, for example heurisch maybe. The tests
will s
Hi,
> > We should just change all the special polynomial objects to not
> > evaluate by default.
Please try PR #2890.
--
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
No, unfortunately, non-trivial relational assumptions like this are
largely not implemented. As you may or may not know, the assumptions
system in SymPy is currently in a bit of a mess. There are two
assumptions systems, the "old" one, which is the one you used, and the
"new" one, which uses ask()
I don't think the Indexed objects are real tensors. They were designed
for use with the code generation module. It would be better to get
this functionality with the new tensor module, I think (assuming my
understanding of it is correct).
Aaron Meurer
On Fri, Feb 7, 2014 at 2:30 PM, wrote:
> Hi
Formally, only one pull request is required. But we do take into
account your total contribution, and communication with the community.
Also, you should be aware that the pull request for eligibility has to
be to the sympy repo (as opposed to Gamma or Live or csympy), if I
remember correctly.
Unfo
What do you mean it will break compatibility? Of course, any code that
writes hermite(2, x) and expects a polynomial will break, but that's
the point of the change.
Aaron Meurer
On Fri, Feb 7, 2014 at 7:09 PM, someone wrote:
> Hi,
>
>> We should just change all the special polynomial objects to
Hi,
> We should just change all the special polynomial objects to not
> evaluate by default.
Ok, let me fix that. But be aware that this *will* break
compatibility in all cases. I don't think we can avoid
that with reasonable effort. (And I will not try.)
--
You received this message because yo
Hi, I was wondering if its possible to take derivatives with respect to
indexed symbols. For example,
>>> from sympy.tensor import IndexedBase, Idx>>> x = IndexBase('x')>>> i, j =
>>> map(Idx, ['i', 'j'])>>> x[i].diff(x[j])ValueError: Can't differentiate wrt
>>> the variable: x[j], 1
I'd like
Also I wanted to ask about 'The Lpoly2 Distributed polynomials in series'.
It is the work of Mario Pernici which is upon review process now.
https://github.com/sympy/sympy/pull/609
How will it affect the series code?
I'm also a bit unclear of what the aim of this project. Apart from formal
power
Hi Author of this module,
My gmail account vincent monde is hacked, i can not use any more.
now i open a new account wilson monde account
could you show that how to express associative property and distributivity
property with category package?
Regards,
Wilson Monde
Aaron Meurer於 2014年2月6日星期
Howdy folks,
I'm a very new to sympy, and am stumped by the following error.
Considering the following code snippet:
from sympy import *
print sympy.__version__
#'0.7.4.1-git'
epsilon,beta = var("epsilon,beta",positive=True)
(exp(epsilon*beta) - 1).is_positive # is None
Sympy knows that beta and
Hi,
As of now sympy gamma needs more improvement to make it much better than
the current version, I have got aware of the code, logic and workflow of
the sympy core module code implemented till date. I would like to work on
it further so as to improve, But I would stuck in deciding where to start
Well, this is really a good idea for the community as well as the students
to get aware of the code of sympy. It will enable the community to have
discussions on the issues currently present and on the students side, it
will be good to get aware of the code of various modules of sympy. Making
this
A few parts of sympy allow you to specify objective functions for
simplification. Pure trig simplification with the fu algorithm is one.
In [6]: fu?
Objective function example
>>> fu(sin(x)/cos(x)) # default objective function
tan(x)
>>> fu(sin(x)/cos(x), measure=lambda x: -x.count_ops()) # maxi
Its fixed now.
On Friday, February 7, 2014 3:14:54 PM UTC+5:30, TARUN GABA wrote:
>
> Hi,
> I am curious about how the Vector.express function behaves, when we call
> it from a Zero Vector.
> For example:
>
> >>>from sympy.physics.mechanics.point import Point
> >>>A = Point()
> >>>type(A)
> sympy
Hi Author of this module,
when i remember the login name vincent monde account, i forget the password
could you show that how to express associative property and distributivity
property with category package?
will adjunction be implemented in future in category package?
Regards,
Wilson Monde
I was wondering if there was a way to “guide” sympy in performing trig
identities to get the output into a specific form? Below, I go into detail
and have attached a working version of the file for reference.
In the expression of P, the coefficients D, F, G, H, and J are assumed to
be real valu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/02/2014 01:43, Aaron Meurer wrote:
> We should just change all the special polynomial objects to not
> evaluate by default. jacobi_normalized actually *is* a class, but
> it evaluates whenever the degree is an explicit integer. But
> there's no
You are right. It should actually return Vector(0), i.e.
sympy.physics.vector.vector.Vector (with the new physics.vector module) or
sympy.physics.mechanics.essential.Vector (for the old version of the
mechanics core).
I'll fix this.
On Friday, February 7, 2014 3:14:54 PM UTC+5:30, TARUN GABA wr
i am currently writing basic functionalities beacuse i was writing and
testing simultaneously..(by my own standards)..
please bare with me for some more hours!!
On Monday, February 3, 2014 9:02:51 PM UTC+5:30, SAHIL SHEKHAWAT wrote:
>
> hey friends,
> for some time now i have been working on im
Hi,
I am curious about how the Vector.express function behaves, when we call it
from a Zero Vector.
For example:
>>>from sympy.physics.mechanics.point import Point
>>>A = Point()
>>>type(A)
sympy.physics.mechanics.point.Point
>>>A.pos_from(A)
0
>>>type(A.pos_from(A))
sympy.physics.mechanics.essent
25 matches
Mail list logo