ce the slope of the two lines is different (l1.slope =
-3.59147710424874; l2.slope = -1.57379854112001), they do intersect in
a point ,but SymPy doesn't seem to compute this point.
What am I doing wrong?
Thanks,
Sebastian
--
You received this message because you are subscribed to the Goog
b:
> y = fsympy(x, f, b) is 300 times faster than y = Y.subs({X:x, F:f,
> B:b}) and only 10% slower than straightaway y = x/f -b
>
> So that works but I do not consider it elegant. Something better?
>
>
Take a look into lambdify - it basically does what you proposed without
doing the fil
access to that repo. This would simplify the
>> workflow in a number of ways:
>>
>> * Trivial to fork sympy on github.
>> * No need for developers to manage multiple remotes if they are
>> hosting branches on github.
>> * Easy to submit pull requests to trigger co
x, v1: 3, u2: y, v2: 5, u3: x, v3: 2})
Then you could look at the returned expression, decide which wilds to
substitute and then make an atomic substitution.
>
> Aaron Meurer
> On May 2, 2010, at 10:46 AM, basti wrote:
>
>
Thanks for your comments! If you find anything in the guides hard
are some possible
solutions I can think of, but I don't like them too much.
Maybe some other people can comment on this?
> Many of the existing methods are in need of a good cleanup. I think you
> should start with this. It'll simplify further work on the subject and
> you'll
had thought that DY.doin() would work but that gives
> "raise AttributeError()".
>
First, the name of the method is doit. Second, DY is a python tuple
which doesn't have this method.
> So there is obviously something I do not understand, please some help
> Janwillem
>
>
Seb
ull it and build the documentation or just view it online
(without nice formatation) on:
http://github.com/bastikr/sympy/blob/hints/doc/src/modules/hinting.txt
What do you think? Would this be an acceptable way to do it?
Sebastian
On May 4, 4:12 am, smichr wrote:
> Sebastian wrote:
>
> (1
On 05/04/2010 05:08 PM, Ronan Lamy wrote:
> Le lundi 03 mai 2010 à 22:11 +0200, Sebastian a écrit :
>
>> Thanks for all your comments, it's very helpful to get so thorough feedback.
>>
>> On 05/03/2010 06:21 PM, Ronan Lamy wrote:
>>
>>> Le diman
> Substitution
>
>
> I think that structural substitution should be a separate function, not
> just a subroutine handling a special case in subs. This would be useful
> for common subexpression elimination, at least.
>
>
What do you under
l try to polish everything a little bit so that it can be
included into sympy as fast as possible...
Sebastian
===
First line: expression, pattern;
Second line: Runtime old code;
Third Line: Runtime new code
Caching of the substitution functions is turned off.
ger default values for other hints. But
maybe to set all keywords at once to the same value might not for all
cases where hints are needed be a good choice.
> After doing this, I wonder if the keyword manager for running scripts
> might be enlisted to handle some of this...I never looked into
o in the HintManager).
>
This is a good idea - to have hints which can set default values for
other hints. It would already be possible to simply subclass the
HintManager and implement such logic, but I think this really deserves
some special treatment directly inside the HintManager. I'll
On 05/07/2010 11:31 PM, Aaron S. Meurer wrote:
> On May 7, 2010, at 2:44 PM, Sebastian wrote:
>
>
>> On 05/07/2010 02:57 PM, smichr wrote:
>>
>>>> Of Chris's stuff, I like some of the shortcuts he has implemented that
>>>> reduce typing fo
hings much faster.
I won't have much time this weekend, but if you have questions
regarding substitution and pattern matching I'll try to answer them as
good as I can...
Sebastian
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To
Hi Suray,
I did know of your project, but have not tried it out yet. Nevertheless,
it looks very amazing, as far as I can tell from just reading through
the description.
> If we could create a mathml visualizer for Reinteract, we will
> have a good looking shell.
I havn't found a good mathml
Hi Philipp,
Last summer I started a project that seems to be very similar to what
you are describing.
http://code.google.com/p/symbide/
Although it has some limitations, I think the basis is pretty well
written. It supports sympy (e.g. you don't have to define numbers and
variables explicitly),
hg push http://freehg.sympy.org/u/brombo/sympy.
Hope this helps,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubs
> My git clone has as its origin this: git://github.com/certik/sympy
>
Use
git://git.sympy.org/sympy
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this grou
u might want to do the following:
>> f = lambdify(s, der)
(For more information on lambdify read it's docstring)
Now you can compute the numerical value of the derivative easily:
>> f(1)
2.0
>> f(2)
2.6302769476946342
Hope this helps,
Sebastian
--~--~-~--~~
er be fixed
in sympy
anyway.
Sebastian
Pablo W. wrote:
> Hello,
>
> I have been using sympy a lot recently (economical modelling) and
> (while it's a great software) I found a strange behavior when doing
> substitution : it is not respecting operators priority. I thin
Just go through the printers implemented in the printing directory.
Especially printer.py is useful and for some full implementation
examples you can go through str.py and repr.py.
I hope this helps,
Sebastian
--~--~-~--~~~---~--~~
You received this message bec
Luke wrote:
> Sebastian,
> Thanks for the reply. I have read printer.py, str.py, and repr.py,
> and am still confused as to how to properly customize Sympy's printing
> system.
>
> Suppose I want to put the _print_myclass(self, e) code into my
> subclass of StrPrint
Luke wrote:
> Sebastian,
> Thanks again for the responses, I really appreciate it. I was a
> little confused in your second example, see below.
>
> On May 28, 5:17 pm, Sebastian wrote:
>> Luke wrote:
>>> Sebastian,
>>> Thanks for the reply. I ha
Luke wrote:
> Ok, thanks.
>
> Any ideas regarding the xsym("*") error?
Not really, I don't even know where this xsym comes from and what it
does, but maybe you are printing unicode to a non-unicode terminal?
Sebastian
--~--~-~--~~~---~--
) in the respective scope...
What do you think ?
(Also: the use of "from sympy.galgebra.GA import *" is discouraged --
could it be changed to "from sympy.galgebra import GA" !?)
Regards,
Sebastian Haase
--~--~-~--~~~---~--~~
You received this
t conform
to "good style", e.g
>>> magic_square.ismagic(None)
NotImplemented
> there is lots of special code related to "None" handling, and
some questionable use global variables
>>> magic_square.magic(2)
TypeError: No such magic square
any suggestion, where it would fit into the sympy "tree" ?
- Sebastian
On Mon, Jul 27, 2009 at 7:25 PM, Ondrej Certik wrote:
>
> Hi Sebastian!
>
> On Mon, Jul 27, 2009 at 6:57 AM, Sebastian Haase wrote:
>>
>> Hi,
>>
>> would it "conceptually&q
Hi Alex,
looks really very nice. What is the recommend, i.e. quickest way to
show off some nice (unicode) math term and some graph plots ?
I thinking of some 1-3 lines just wet the appetite ...
Regards,
Sebastian Haase
On Tue, Sep 1, 2009 at 2:19 PM, Neal Becker wrote:
>
> Ah,
seem bad choices for me ...
My two cents,
Sebastian Haase
On Thu, Nov 12, 2009 at 3:24 PM, smichr wrote:
>
> I'm just looking for some feedback about what is useful to see in the
> documentation. I've finished making all imports explicit in the *py
> files and am w
mpy installs into the bin directory (besides isympy):
~/sebPy/bin/test
~/sebPy/bin/doctest
Are those quite "generic" names for a (global) bin directory !?
Regards,
Sebastian Haase
On Sun, Dec 20, 2009 at 10:56 PM, Vinzent Steinberg
wrote:
> Hi all,
>
> we just released a new ve
On Mon, Dec 21, 2009 at 5:04 PM, Vinzent Steinberg
wrote:
> On Dec 21, 10:04 am, Sebastian Haase wrote:
>> Hi,
>> Congratulations to the new release!
>>
>> After a quick setup.py install on my amd64 Debian I have a few
>> comments - found maybe a bug:
>&
er method to get it ?
> -
>
> Matteo, I would do it like this:
>
>>>> from sympy.physics import units as u
>>>> u.feet/u.mm
> 1524/5
>>>> _.n()
> 304.8000
>
ok, let's keep hijacking...
just out of curiosity - how did
On Thu, Jun 17, 2010 at 12:35 PM, Matteo Boscolo
wrote:
>>just out of curiosity - how did you get all those trailing zeros ?
> From the python schell ..
> May be the printed velue was
> 304.80001
> I just make a mistake in copy paste .. ;-)
>
> Regards,
> Matteo
Now I'm relieved ;-) Thank
On Thu, Jun 17, 2010 at 2:33 PM, smichr wrote:
>> Now I'm relieved ;-) Thanks. BTW: I just learned that the new Python
>> 3000 (py3k) will change this "ugly" float printing feature (repr(1.1)
>> is then "1.1" not "1.1000...0002") -- finally
>> -S.
>
> Are they changing the feature or changin
ation ?
Thanks,
Sebastian Haase
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more options,
rchive.com/sage-de...@googlegroups.com/msg08112.html
((I guess the current page at that URL has nothing to do with pydoctor
anymore - does it ? ))
)
Cheer,
Sebastian
On Mon, Sep 6, 2010 at 7:22 PM, Aaron S. Meurer wrote:
> I think whoever wrote that was planning in importing the class/function
gets generated automatically from all source code
doc strings, it might be a feasible addition to the sphinx
documentation (until that's complete)...
My 2 euro cents.
- Sebastian
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to t
On Tue, Sep 7, 2010 at 11:04 PM, Aaron S. Meurer wrote:
> On Sep 7, 2010, at 12:41 PM, Sebastian Haase wrote:
>
>> On Tue, Sep 7, 2010 at 8:10 PM, Ondrej Certik wrote:
>>> On Tue, Sep 7, 2010 at 8:42 AM, Aaron S. Meurer wrote:
>>>> I never knew about that.
cer ?
Obviously, (I think) Mathematica's notebook is unsurpassed - but I
guess, for that one could use Sage ...
Thanks,
Sebastian Haase
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sy...@googleg
you still often find yourself double checking results in Maple /
Mathematica... ? )
Thanks again,
Sebastian
On Wed, Jan 5, 2011 at 9:12 AM, Ondrej Certik wrote:
> On Wed, Jan 5, 2011 at 12:40 AM, Aaron S. Meurer wrote:
>> Hi!
>>
>> This is an interesting question. I t
On Wed, Jan 5, 2011 at 11:30 AM, Ondrej Certik wrote:
> On Wed, Jan 5, 2011 at 10:23 AM, Sebastian Haase wrote:
>> Thanks for the extensive answer. My friend is doing symbolic analysis so far.
>>
>> Maybe one more question:
>> Who here on the list is using others CASs
t
> issue 2138, which should also be easy), because the options are already
> there. So I would like to do this before the release, if people want to do
> it.
>
> Aaron Meurer
>
>
Is it possible to keep the default order for series, and change it for
polys ? Meaning: to intro
t;
> http://wiki.sympy.org
>
> If so, I will go ahead and do it. I will then see whether there is
> some way to redirect wiki.sympy.org to the github page.
>
> Ondrej
>
Is there a way to get the left side menu-like links back to the new
wiki. E.g. , I don't find any do
On Tue, Feb 8, 2011 at 10:03 AM, Ondrej Certik wrote:
> On Tue, Feb 8, 2011 at 12:23 AM, Sebastian Haase wrote:
>> On Tue, Feb 8, 2011 at 9:10 AM, Ondrej Certik wrote:
>>> On Mon, Feb 7, 2011 at 10:47 PM, Ondrej Certik wrote:
>>>> Hi,
>>>>
>&
Is it possible to keep somehow redirect while having
wiki.sympy.org
showing up in the browser's address bar ?
It would look much nicer ... more professional ...
Regards,
Sebastian Haase
On Thu, Feb 10, 2011 at 7:25 PM, Ondrej Certik wrote:
> On Wed, Feb 9, 2011 at 4:34 PM, Ondre
would this relate to - say - the sage community then ?
-Sebastian
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@goo
what is zoo anyway - I was not able to find anything - even on google
-Sebastian
PS: sorry for beeing OT
On Sat, Feb 25, 2012 at 10:16 AM, Aaron Meurer wrote:
> Why is zoo*zoo nan?
>
> In [71]: zoo*zoo
> Out[71]: nan
>
> It seems to me that the result should just
in proofing your code for
true-division (Python 3000). It sure would make sense for a math
package like sympy ;-)
Thanks for the quick reply -- I will go and get the new pyglet 1.1. I
suppose I can do a drop-in replacement into
C:\Python25\Lib\site-packages\sympy\thirdparty\pyglet\pyglet
Thanks
hat it's worth, I found a handful problems in PIL (which were
easy to fix, yet I did not feed those back upstream).
In summary, I see this as a challenge ;-)
-Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Tue, Mar 25, 2008 at 11:54 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 24, 2008 at 9:50 AM, Sebastian Haase <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, Mar 23, 2008 at 10:50 PM, Ryan James <[EMAIL PROTECTED]> wrote:
> > >
> &
very well developped platform and comes with a super
helpful community. Many SciPy tools (e.g. the new MayaVi2) are build
around wxPython.
Thanks for writing free code,
Sebastian Haase
On Mon, Mar 31, 2008 at 12:58 PM, PhilippStrack
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
ctive shell.
Like this:
>>> 1.4*1024
1433.6
>>> _/180
7.964
>>> _
7.964
I do see however that "_" would be nice for your porpuse --- is there
maybe some other sign (i.e. valid var name) that could be used instead
!?
[[ Python 3.0 will support unico
n community.
It seems impossible:
python.org does not seem to mention it at all --except
PEP 365 -- Adding the pkg_resources module-- which was rejected
and
PEP 361 -- Python 2.6 and 3.0 Release Schedule --which makes it
sound like it is already in Python 2.5
What is the current state ? Are &q
t; to it
that I often thought would be preferable.
Could someone please summarize (again) the risks and/or disadvantages of LGPL
from a COMPANY POINT OF VIEW !?
Or, in other words, who would be thrown off by LGPL ?
Thanks,
Sebastian Haase
--~--~-~--~~~---~--~~
Yo
l ?
And it handles unicode ??
That would be really nice...
--
Sebastian Haase
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroup
On Wed, Jun 3, 2009 at 9:36 PM, Gael Varoquaux
wrote:
>
> On Wed, Jun 03, 2009 at 09:33:48PM +0200, Sebastian Haase wrote:
>> This is very interesting to hear ! Is it built on top of the wx wxPyShell ?
>
> No. The architecture of that thing is less than ideal. It is built on
, so how about the factorization part !?
Regards,
Sebastian Haase
PS: hope to see some of you in Leipzig this year
[SciPy-user] prime factorization...
> Hi all,
> Is there any function in scipy that gives the prime factorization?
> ie 50 -> [5, 5, 2]?
> TIA
> Cheers,
> > --
be
solved for in an essentially non-algebraic way.
HTH,
Sebastian Haase
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe fro
Hello,
I'm learning Sympy and trying to replicate a solution for the Euler
pitch and roll angles as described in a well-known Application Note:
https://cache.freescale.com/files/sensors/doc/app_note/AN3461.pdf
In particular, Equations 24 through 26. Here's the set up matching the
reference fram
Can somebody explain this behavior? Or is this a bug?
Thanks,
Sebastian
First run:
Python 3.3.2 (default, Dec 4 2014, 12:49:00)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.1 -- An enhanced Interactive Python.
? -> Introduction
On Thursday, March 19, 2015 at 6:02:46 PM UTC+1, Joachim Durchholz wrote:
>
>
> One cause of random behaviour is built right into Python.
> Set the environment variable PYTHONHASHSEED to an integer when starting
> SymPy, and this source of randomness is eliminated and you'll get
> repeatable b
kages/sympy/core/relational.py in
__nonzero__(self)
101
102 def __nonzero__(self):
--> 103 raise TypeError("cannot determine truth value of\n%s" %
self)
104
105 __bool__ = __nonzero__
TypeError: cannot determine truth value of
-oo < -inf
On Tue, M
On Tue, Mar 24, 2015 at 1:13 PM, Francesco Bonazzi
wrote:
>
> Try this:
>
> res = P(N0 <= 1.1001, evaluate=Fales)
> res.doit()
>
> and see whether the exception is raised by the first or the second step.
>
It is raised by the first step.
--
You received this message because you are subscribed
This fixes it for me:
https://github.com/sympy/sympy/pull/9199
--
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.
To post to this grou
Hello,
I'm trying to work out the derivation of the relationship between Euler
angle rates in terms of Euler angles and angular rates in body frame
(e.g. http://dma.ing.uniroma1.it/users/lss_da/MATERIALE/Textbook.pdf
section 1.2.2). I have developed this for the so-called "Tait-Bryant"
rotation a
Brilliant! Thank you.
On Wednesday, February 15, 2017 at 3:35:24 PM UTC-6, Jason Moore wrote:
>
> If you take the Jacobian with respect to your b vector I think you should
> get A.
>
>
> Jason
> moorepants.info
> +01 530-601-9791
>
> On Wed, Feb 15, 2017 at 1:1
Hello,
I cannot find the proper sympy incantation so that the following system of
equations (sy is my alias for sympy:
>>> sy.Eq(omega_e, euler_rates, evaluate=False)
Eq(Matrix([
[ \dot\phi],
[\dot\theta],
[ \dot\psi]]), Matrix([
[\omega_x + \omega_y*sin(\phi)*tan(\theta) + \omega_z*cos(\phi)*
1] and are now looking for German speakers
eager to review the new translations [2]. I translated most of the text
blocks, except for the funding page and some unclear formulations.
Feedback is welcome.
All the best
Sebastian (@awvwgk)
[1]: https://www.sympy.org/de/index.html
[2]: https://github
68 matches
Mail list logo