sites have done similarly annoying
things.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
--~--~-~--~~--
; It's one 1h42min.
>
> Do you know if the output from the laptop was captured at all? As it
> would be good if that could be used instead of the camera pointing at
> the screen. (From what I know it is quite common for the feed to be
> recorded as well as the presenter.)
I do not b
erical analysis. How difficult would it be to
> add an option to cse to make it output expr**(3.0/2)?
cse() is not the place to put such logic. The code-generation tool is
the place to do that. cse() is not the only operation that will
generate such expressions.
--
Robert Kern
"I have c
On Wed, Oct 14, 2009 at 13:26, Ondrej Certik wrote:
> Any ideas how to fix this? I can't run doctests anymore due to this
> bug, unless I install old ipython again...
IPython's trunk is undergoing a major reorganization. Go back to the
last release.
--
Robert Kern
"I
ives one real root.
>
> As far as I know there is no symbolical algorithm to determine roots
> of polynomials of 5th order.
Nor can there be for general quintics:
http://en.wikipedia.org/wiki/Abel–Ruffini_theorem
--
Robert Kern
"I have come to believe that the whole world is an eni
t being the hugely important player here. Certainly, you are
going to have a Python API that will represent that tree of text nodes
as Python objects, but I just don't see the point of making the repr()
of that be the lingua franca format of the notebook file. It's just a
wasted opportunity.
ed opportunity.
>
> Again, I think the biggest issues with XML are:
>
> * No one wants to edit XML by hand.
I don't want to write Python code in that tree style by hand, either.
Too many things to get wrong. I don't see anyone editing notebooks
outside of the notebook apps,
ds == valid file. The same is actually true for any other
format.
> Doing these types of things using XML would require all of this to be
> put into the centralized XML schema, making it difficult for third
> parties to extend. Plus all of the additional logic associated with
> that Cell ty
On Wed, Feb 24, 2010 at 17:04, Mikhail Terekhov wrote:
> On Wed, Feb 24, 2010 at 4:04 PM, Robert Kern wrote:
>>
>> I am almost certain that their use cases and workloads are much
>> different than the notebook's would be. Python's parser isn't exactly
that many of SymPy's algorithms are particularly amenable to
hardware acceleration. Do you have something specific in mind?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
tho
On Mon, Mar 22, 2010 at 19:03, Augustus Q Odena wrote:
> It's possible that the continued interest in writing new graph modules is a
> testament to the quality of the existing ones,
Or the ease of starting new ones.
--
Robert Kern
"I have come to believe that the whole world
ink it makes sense to keep it. But
>> then, let simply also make .N a method so it is consistent.
>
> Sage also only has the .n() method and a N() function.
>
> So should we have all .evalf(), .n() and .N() methods? If someone
> expects to have .N() too, we can do that (Sage does
d argue that duplicating methods is the worst option for the
newbies and is more harmful than leaving things alone. Create the
consistent function/method if you must, but deprecate the inconsistent
one. Of course, that has costs as well.
--
Robert Kern
"I have come to believe that the whol
not clear to me.
Mixing super(Klass, self).__init__() and BaseKlass.__init__(self)
calls in the same inheritance tree negates the purpose of super(). You
will end up with repeated calls to certain __init__()s. If you
consistently use super(), you won't.
--
Robert Kern
"I have come
in a package. The LICENSE file already present
is quite sufficient legally.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
cting "convert" to "cv" is *not* easy to understand.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
--
You
mbol, to a separate directory from sympy/core.
This is probably the best idea.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
ng for scikits, I think umbrella
namespace packages (distinct from organization-owned namespace
packages like enthought) are more trouble than they're worth, whether
implemented with setuptools or pkgutils.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmles
y to use the basic array feature. Since numpy has to
> be compiled, this will be very useful, since, for example, you can't install
> it on the Google App Engine. Therefore, the implementation in SymPy should
> match the numpy implementation.
That's not very informative.
rid schemes for Metropolis
sampling that require derivative information from the PDF.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umbert
e in strings. So
> probably the best way is to use an actual parser.
You could use the tokenize module. I'm not sure if that's available on
the App Engine, but it probably is.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is mad
it has already
> passed review. A more helpful message would be
>
> sympy/core: Set keep_sign = True
>
> so atleast I know which part has changed.
You can use `git log --name-status` to have git show you the files
that were modified.
--
Robert Kern
"I have come to believe that the
r of *policy*, to define __eq__ methods in such a way as to
return a bool, like most other types, in order to allow sympy objects
to be used in a variety of contexts like most Python objects you will
encounter. In particular, most sympy objects can be used as dictionary
keys or set members.
--
Ro
runs
f.__eq__((1,2)), gets back (1,2), passes it to bool() to interpret it
as a real boolean, gets True, so it thinks (1,2) is an object that is
already in there.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad
n-specific, if one already exists
http://www.dalkescientific.com/Python/python4ply.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- U
On Tue, Aug 9, 2011 at 23:20, Aaron Meurer wrote:
> On Tue, Aug 9, 2011 at 9:53 PM, Robert Kern wrote:
>> On Tue, Aug 9, 2011 at 22:49, Jeff Pickhardt wrote:
>>> For implementation, I was thinking of either
>>>
>>> 1) forking the CoffeeScript parser
t; as rows and produce a column vector and Matrix([[1,2,3]]) should
> produce a row vector. But numpy will
> not consider changing their syntax: a request to that effect was
> almost instantly tabled.
Sorry if the speed of that seemed rude. I just happened to be checking
my email
On Mon, Aug 29, 2011 at 12:25, Aaron Meurer wrote:
> On Mon, Aug 29, 2011 at 11:17 AM, Robert Kern wrote:
>> On Mon, Aug 29, 2011 at 02:26, smichr wrote:
>>> I posted something to an issue which doesn't automatically ping to
>>> everyone so am copying the di
On Jan 1, 10:33 am, Alan Bromborsky <[EMAIL PROTECTED]> wrote:
> I trying to determine if you would be interested in adding a geometric
> algebra package to sympy. Attached are pdf files introducing geometric
> algebra (imag_numbers.pdf) and a description of a python module I am
> developing for
ni-mannheim.de/cabench/diractiv.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--~--~-~--~~~--
ms for CASes with code in Axiom,
Derive, Macsyma, Maple, Mathematica, MuPAD, and Reduce (as of 1999; the timings
will have to be redone):
http://www.math.unm.edu/~wester/cas_review.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is m
org/ref/numeric-types.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--~--~-~--~~~---~-
realize you don't have time to finish it, please attach your latest
> files to our issues, so that we can polish it and get it in.
IIRC, the SAGE folks mentioned that they had tried tcc and found too
many bugs in it. For this purpose, it might work, though.
--
Robert Kern
"I hav
good to see real.py getting some TLC again. Where did you
upload it to?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had
y's the odd one out, but it's not going to change this late in the game.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umber
ly stay one-liners. Don't give docstring contributors more work to
do!
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
--~--~-
e there is no repeated
subexpression. The idea is to reduce the amount of unnecessarily
repeated computation (usually numerical) when there are subexpressions
that pop up several times in the complete expression. For example,
Mathematica has an example of its common subexpression elimination:
http:
ASTs. I never followed up on it since I had no way
(at that time) to regenerate Python code from the modified ASTs.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/de32cd3d1b5c3359/0c93c996bd1ad1e1
--
Robert Kern
"I have come to believe that the whole world is an enigma
On Sun, Jun 15, 2008 at 17:46, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Mon, Jun 16, 2008 at 12:10 AM, Robert Kern <[EMAIL PROTECTED]> wrote:
>> Actually, that example is not relevant since there is no repeated
>> subexpression. The idea is to redu
of expressions (e.g. my old use case) is
an exercise left to the reader.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
-
com/issues/attachment?aid=3304519749492286715&name=cse.py
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
--~--~-~--~~
>to_eliminate.append(subtree)
>seen_subexp.add(subtree)
>
> It's awesome. Then one just takes the to_eliminate list and substitute
> it for x_0, x_1, ...
>
> On Mon, Jun 16, 2008 at 8:28 AM, Robert Kern <[EMAIL PROTECTED]> wrote:
>> On Sun, Jun
E. It opens
the possibility for the user to select the optimizations they need.
These are also things that can be added later, so having the core CSE
implementation could go in right away (pending unit tests and multiple
expressions).
--
Robert Kern
"I have come to believe that the whole w
ay,
> it's ok with me too.
I can probably implement multiple expression support + unit tests +
subtraction preprocessing in a few days time.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to int
On Wed, Jun 18, 2008 at 05:44, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Wed, Jun 18, 2008 at 11:50 AM, Robert Kern <[EMAIL PROTECTED]> wrote:
>> I can probably implement multiple expression support + unit tests +
>> subtraction preprocessing in a few days tim
lished under an open source license *before*
someone else tries to patent it. Under essentially all patent regimes,
prior publication of the invention by someone else is grounds for
preventing or invalidating a patent (with a lot of effort). The VTK
situation is different; the VTK code was written a
ixing it
> generally) and when you or anyone else finds time, it can be improved.
It's just about ready.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had
On Tue, Jul 1, 2008 at 17:28, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> how about moving mpmath directly to sympy/ ?
+1
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to
ixing it
> generally) and when you or anyone else finds time, it can be improved.
'tis done.
http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/sympy/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own ma
On Sun, Jul 6, 2008 at 05:45, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Sun, Jul 6, 2008 at 12:36 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
>>
>> On Tue, Jul 1, 2008 at 10:38, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>>> Any progress on this? I
from rewrite import cancel, trim, apart
>
> from sqrtdenest import sqrtdenest
> +
> +from cse import cse
I'd rename the module, in this case. It makes it difficult to import
the module from the sympy.simplify package. This is necessary if
someone needs to change the default opt
On Sun, Jul 6, 2008 at 07:55, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Sun, Jul 6, 2008 at 2:19 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
>>
>> On Sun, Jul 6, 2008 at 07:13, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>>> diff --git a/sympy/simp
titem__
> attribute has worked for me. The rationale being that any iterable has
> a way to access its individual items.
That's not true at all. The whole point of __iter__ is to allow
iterables that do not need to allow access via __getitem__.
Generators, file objects, probably all
rmat rather than type
makes a fair bit of sense in this context. Your compromise hits a nice
sweet spot of getting excellent output for all of the builtin stuff
and satisfactory-to-excellent output for new stuff the printer might
not know about.
--
Robert Kern
"I have come to believe that
Associativity of operations is handled by the parser, not the classes.
You might be able to fake it by making __mul__ unimplemented and only
implement __rmul__, but that might be fragile.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that
product and resold with lots of bragging about how they're
better than the open source GMP), but is there an actual threat to
sympy? Hypothetical threats don't impress me much.
--
Robert Kern
"I have come to believe that the whole world is an enig
ackages, though.
> I think _we_ should set the rules, not some company, and if _we_ manage
> SymPy to be succcessful product, EPD would just be _forced_ to ship it.
Huh. And I thought we were talking about freedom, here...
--
Robert Kern
"I have come to believe that the whole world i
On Sun, Nov 16, 2008 at 11:39, William stein <[EMAIL PROTECTED]> wrote:
>
> On Nov 15, 5:15 pm, "Robert Kern" <[EMAIL PROTECTED]> wrote:
>> On Sat, Nov 15, 2008 at 18:07, Kirill Smelkov <[EMAIL PROTECTED]> wrote:
>> > EPD can ship LGPL
>> &g
e sophisticated pattern-matching available
in some other symbolic math system that you wish sympy could do? If
you can describe what you'd like to be able to do, I'll see what I can
do about implementing it.
--
Robert Kern
"I have come to believe that the whole world is an enigma,
On Sat, Dec 27, 2008 at 09:47, Neal Becker wrote:
>
> On Saturday 27 December 2008, Robert Kern wrote:
>> I'm spending my holiday tinkering time playing around with Parsing
>> Expression Grammars (Google it, if you're curious). I'd like to make a
>> PEG
On Sat, Dec 27, 2008 at 13:20, Ondrej Certik wrote:
> I'd be interested to look at your code --- if you publish your
> repository somewhere, I'll play with it.
http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/silvereye/
I'll try to write some getting-started docs tomor
On Sun, Dec 28, 2008 at 06:16, Ondrej Certik wrote:
> On Sun, Dec 28, 2008 at 7:49 AM, Robert Kern wrote:
>>
>> On Sat, Dec 27, 2008 at 13:20, Ondrej Certik wrote:
>>> I'd be interested to look at your code --- if you publish your
>>> repository so
; Considering what sympy is you will need math constructs at some point to
> document it so latex is required to make html.
No, sphinx.ext.jsmath can be used to generate HTML with LaTeX
equations without needing a LaTeX installation.
--
Robert Kern
"I have come to believe that the whole wo
r __new__().
I have a patch on sympy-patches that does this for all of the classes
tested by test_pickle. There may be other classes that don't work.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to in
On Sun, Jan 11, 2009 at 10:20, Ondrej Certik wrote:
>
> On Sat, Jan 10, 2009 at 11:25 PM, Robert Kern wrote:
>>
>> On Wed, Nov 12, 2008 at 10:57, Ondrej Certik wrote:
>>>
>>> Hi,
>>>
>>> I'd like to draw your attention to these two i
ematica :
>
> http://reference.wolfram.com/mathematica/ref/Minimize.html#61381153
How complicated are your target functions? How complicated are your constraints?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad a
_rsolve_bulk[18] and test_rsolve_bulk[22]).
Any ideas?
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying trut
On Tue, Jan 13, 2009 at 22:53, Ondrej Certik wrote:
>
> On Tue, Jan 13, 2009 at 7:58 PM, Robert Kern wrote:
>>
>> So I think I have a fix for issue 1263, but when I run "python
>> setup.py test" I get one error (test_issue1016). When I run py.test
>> f
o that it works with numpy types, but doesn't use numpy.bool_
> explicitely?
Do you *need* to typecheck?
If so, then try this out:
http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/deferredisinstance
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harml
l
You may want to ask basic Python questions on the tutor mailing list:
http://mail.python.org/mailman/listinfo/tutor
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
d/628ebc799ee57ec1/
>
> If you'd like to help to get this fixed, it'd be really awesome. I
> think Lance is not working on this anymore, so this issue is open for
> anyone to fix. :)
Well, you should at least raise NotImplementedError until then.
if you think the project is a worthwhile undertaking.
+lots
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.&
ing: Module sympy was already imported from
> /home/nbecker/sympy-0.6.4.beta2/sympy/__init__.pyc, but
> /usr/lib/python2.5/site-packages/sympy-0.6.3_hg-py2.5.egg is being added to
> sys.path
You need to uninstall the old 0.6.3.
--
Robert Kern
"I have come to believe that the whole
putation: Elementary
Algorithms_ describes an algorithm along these lines and gives
references which should help implement the special cases:
http://web.cs.du.edu/~jscohen/ElementaryAlgorithms/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma
I rejected the message,
> asking him to first explain why he sent the spam as the first message
> in this thread.
Might be worth emailing the Yahoo address from the JMCAD home page.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma
cies are also measured in 1/s (technically radians/s
but radians are a ratio of distances and so are "unitless" by the
usual logic), but they differ from Hz by a factor of 2*pi. Sadly,
units are not the most rigorous of mathematical constructs.
--
Robert Kern
"I have come to believe t
On Tue, Apr 7, 2009 at 20:28, Fredrik Johansson
wrote:
>
> On Wed, Apr 8, 2009 at 2:44 AM, Robert Kern wrote:
>>
>> On Tue, Apr 7, 2009 at 15:18, flyeng4 wrote:
>>
>>> In [40]: 1/s
>>> Out[40]: 1/s <-- Makes sense but might be 'hz'?
>&g
On Tue, Apr 7, 2009 at 22:18, Fredrik Johansson
wrote:
>
> On Wed, Apr 8, 2009 at 3:35 AM, Robert Kern wrote:
>>> I disagree, 1/s is the definition of the hertz, period (pun accidental :-).
>>
>> Sorry, but that's just not true. There are other 1/s quantities
nces,
> evaluate each using eval() and add them together.
It's feasible to write and maintain a pyparsing parser for Python's
expression subgrammar. This also opens up the possibility for easily
extending the grammar to add other operators and such.
--
Robert Kern
"I have come to
On Sun, May 3, 2009 at 11:06, Robert Kern wrote:
> On Sun, May 3, 2009 at 10:59, Ondrej Certik wrote:
>
>> Google app engine supports eval(), so we may just write a simple
>> preparser based on the "re" module (also available on the app engine),
>> that con
e you can redefine
> operator precedence for user defined types.
Unlikely. Operator precedence is a parsing issue. The parser knows
nothing about the types.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad
sympy.
> On linux, at least, I
> have "rst2html" and not "rst2html.py", so I don't know which way is
> the correct one here.
If you install from docutils source, it is rst2html.py. Debian and
possibly other distributions rename it.
--
Robert Kern
"I have
cannot find the file specified.
> make: *** [sphinx-build] Error 2
>
> I don't think windows uses NULL ?
No, that's a C NULL pointer in that error message, not a file name.
Most likely, it is saying that you do not have an rm executable.
--
Robert Kern
"I have come to believe
s a starting point. I don't think this one stands out
in any particular respect.
http://nedbatchelder.com/text/python-parsers.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
eas.
However, this has been suggested before and rejected, so don't bother.
Please look at the packages I've pointed you to that will let you do
what you want right now.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible
s jn_zeros() function only works with integer n's, but a
spherical Bessel function with integer n uses a regular Bessel
function with non-integer n. If we had a jv_zeros() we could do it,
but we don't.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harml
out by Sebastian and Aaron. I didn't realize there
> is such a big problem in there. One way to fix it is check if "a" and
> "b" is positive, only then split sqrt(a/b) to sqrt(a)/sqrt(b).
Hmm, I thought I fixed that already:
http://c
mpy/simplify/simplify.py
Definition: trigsimp(expr, deep=False, recursive=False)
Docstring:
Usage
=
trigsimp(expr) -> reduces expression by using known trig identities
etc.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
eni
**14)**(3/2)) - (w**(-12))**(1/2)*(48*I*(w**28)**(1/2) -
64*w**14)**(1/2)*log(-10560*pi*w**2*(w**(-12))**(1/2)*(48*I*(w**28)**(1/2)
- 64*w**14)**(1/2) + +inf*pi**2*w**2 -
120*pi*(w**(-12))**(3/2)*(48*I*(w**28)**(1/2) -
64*w**14)**(3/2)))/(32*pi)
--
Robert Kern
"I have come to believe that th
On Tue, May 26, 2009 at 17:04, Neal Becker wrote:
>
> On Tuesday 26 May 2009, Robert Kern wrote:
>> On Tue, May 26, 2009 at 15:08, Luke wrote:
>> > I get the same behavior on my machine.
>>
>> Hmm, I don't.
>>
> I'm using 0.6.4, ar
ence.
No, I'm just dumb. That's from numpy.
In [3]: from sympy import *
In [4]: %sym -r f w
Adding real variables:
f
w
In [5]: s = 2*pi*I*f
In [6]: ia = (-2*s**2*w**2 + w**4)/(s**4 + w**4)
In [7]: simplify(powsimp(integrate(ia, (f, 0, oo
Out[7]: 0
> What exactly does it mean
hm like the
previously mentioned Pychinko.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
--~--~-~--~~
grammar. That said, it
would be better just to pass the input to sympify() and use the list
comprehension in the second branch. That would future-proof the
function in case you decide to allow more things in the sympy
expression grammar (Unicode? u'\{GREEK SMALL LETTER PI}'?).
--
Robert
(renderer._renderer.buffer_rgba(0, 0),
> 330 renderer.width, renderer.height,
>
> IOError: [Errno 22] invalid mode ('wb') or filename:
> 'C:\\Users\\Ondrej\\Desktop
> \x07.png'
Watch your backslashes! \a is the bell character.
--
Robert
e full path to
your git checkout. For example, I have my checkout in
/Users/rkern/git/sympy/ (i.e. /Users/rkern/git/sympy/setup.py exists).
Thus, I would have just the line
/Users/rkern/git/sympy
in my .pth file.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harml
On Sun, Jun 7, 2009 at 02:40, smichr wrote:
> On Jun 7, 7:18 am, Robert Kern wrote:
>> The easiest thing for you to do is add a file named "sympy.pth" into
>> your site-packages. It should have just one line: the full path to
>> your git checkout. For example,
now (I tested on
> both linux and mac and it just works). See also my comment here:
>
> http://code.google.com/p/sympy/issues/detail?id=1463#c4
scipy.weave already has most of the infrastructure that you need.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a har
On Mon, Jun 8, 2009 at 14:39, Ondrej Certik wrote:
>
> On Mon, Jun 8, 2009 at 1:18 PM, Robert Kern wrote:
>> scipy.weave already has most of the infrastructure that you need.
>
> Do you mean the build support stuff? Or code generation?
Build support.
> Btw, to learn it, ju
" ?
>>>
>>
>> What hooks do you mean?
>>
>> Ondrej
>
> I'm talking about the use of the cracter ' ['. Maybe I do not use the
> right word (I'm french).
In programmer's English:
[] = "brackets" or "square brackets&qu
On Sat, Jun 13, 2009 at 19:03, Ondrej Certik wrote:
>
> On Sat, Jun 13, 2009 at 5:57 PM, Robert Kern wrote:
>> In programmer's English:
>>
>> [] = "brackets" or "square brackets"
>> {} = "braces" or "curly braces" or
1 - 100 of 108 matches
Mail list logo