So I'm using Martin Albrecht's *anf2cnf.py *script which relies on
`tmp_filename()` function to store the CNF representation of a polynomial
system. SAGE 5.0 returns the following path and file name:
sage: tmp_filename()
'/home/zoresvit/.local/share/sage///temp/shekel/27631//tmp_13'
The script
On 6/4/12 8:04 AM, Ruslan Kiianchuk wrote:
So I'm using Martin Albrecht's /anf2cnf.py /script which relies on
`tmp_filename()` function to store the CNF representation of a
polynomial system. SAGE 5.0 returns the following path and file name:
||
sage:tmp_filename()
On Monday, June 4, 2012 9:32:11 PM UTC+8, Jason Grout wrote:
On 6/4/12 8:04 AM, Ruslan Kiianchuk wrote:
So I'm using Martin Albrecht's /anf2cnf.py /script which relies on
`tmp_filename()` function to store the CNF representation of a
polynomial system. SAGE 5.0 returns the following
At what directory is the path undefined? In other words, where does the
path stop existing?
Interesting enough, but bash seems to be alright with those extra slashes —
it still can access the needed directory and create file there if I do
something like
zoresvit@shekel:~$ touch
On 6/4/12 8:50 AM, Ruslan Kiianchuk wrote:
However it was a surprise for me that extra
slashes in the path are alright.
--
That was why I didn't push my os.path.join patch to completion---I
realized that the multiple slashes were not the cause of the problem I
was tracking down.
Jason
--
Posix stipulates that multiple successive slashes are considered to be the
same as one slash. Its still ugly and not portable beyond posix, though.
On 6/4/12 8:50 AM, Ruslan Kiianchuk wrote:
However it was a surprise for me that extra
slashes in the path are alright.
--
To post to this
Hi,
I'm running sage-5.0 installed from source on Ubuntu 11.10. Because
of our firewall I have to proxy the sage server through apache (i.e.
http://myserver:9000 is proxied as https://myserver/sage). Everything
is working well so far except for the jmol plotting, where I get
ReferenceError:
I fixed it. I just needed to add /java to the list of directories I use in
the ProxyPass and ProxyPassReverse statements I use in the apache
configuration.
-Chris
On Monday, June 4, 2012 11:22:41 AM UTC-5, Chris Kees wrote:
Hi,
I'm running sage-5.0 installed from source on Ubuntu 11.10.
On 6/4/12 11:43 AM, Chris Kees wrote:
I fixed it. I just needed to add /java to the list of directories I use
in the ProxyPass and ProxyPassReverse statements I use in the apache
configuration.
This should go in a FAQ somewhere. Lots of people have asked about how
to run a sage server in a
On 6/4/12 1:16 PM, Jason Grout wrote:
On 6/4/12 11:43 AM, Chris Kees wrote:
I fixed it. I just needed to add /java to the list of directories I use
in the ProxyPass and ProxyPassReverse statements I use in the apache
configuration.
This should go in a FAQ somewhere. Lots of people have asked
Is it possible to customize Sage (or somehow edit its conversion of
strings) so that exp(x), which gets output by latex conversion as e^x,
now gets output by latex conversion as \mathrm{e}^x?
John A. Velling
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe
Jason:
I have a couple of students for whom this is on the summer project list
(rather high on said list). If we make substantial progress I will
certainly pass along results.
BTW, we have built a MathML - Sage input translator. This allows us to
take simple expressions produced from, say,
There are two parts to this, sage - MathML (which is what the
rudimentary _mathml_ methods are for) and MathML - sage (which it
seems you've written, and might be more useful).
To include this into Sage, I would probably create a file
sage/interfaces/mathml.py with a single parse_mathml(...)
I've used sage for a while now and have used the vector field for
equations. I'm a bit stumped on this one. I want to make an 2D
electric field chart from an array of voltage measurements like an
isobar chart only lines of equal voltage potential. I've searched,
but haven't found sample code.
On Monday, June 4, 2012 3:12:00 PM UTC-7, Dan Aldrich wrote:
I've used sage for a while now and have used the vector field for
equations. I'm a bit stumped on this one. I want to make an 2D
electric field chart from an array of voltage measurements like an
isobar chart only lines of
YES! I couldn't think of the term. I'll go back to searching for that.
Thank you,
-d
At 06:25 PM 6/4/2012, you wrote:
On Monday, June 4, 2012 3:12:00 PM UTC-7, Dan Aldrich wrote:
I've used sage for a while now and have used the vector field for
equations. I'm a bit stumped on this one. I
On 4 Jun, 2012, at 08:17 AM, Volker Braun wrote:
Posix stipulates that multiple successive slashes are considered to be the
same as one slash. Its still ugly and not portable beyond posix, though.
And it's been part of Unix since day one.
On 6/4/12 8:50 AM, Ruslan Kiianchuk wrote:
os.path.normpath is handy for cleaning stuff like this up too
(including removing /../ and /./). Doesn't really matter here, but is
nice when one wants to compare paths or prefixes.
- Robert
On Mon, Jun 4, 2012 at 8:17 AM, Volker Braun vbraun.n...@gmail.com wrote:
Posix stipulates that multiple
Well, I spoke too soon. I can plot the matrix, but not contour_plot it.
V = matrix([
[0.020, 0.020, 0.016, 0.014, 0.011, 0.011],
[0.021, 0.018, 0.016, 0.013, 0.010, 0.011],
[0.017, 0.015, 0.015, 0.012, 0.010, 0.011],
[0.013, 0.013, 0.011, 0.009, 0.007, 0.009],
[0.011, 0.010,
On 6/4/12 7:15 PM, Dan Aldrich wrote:
Well, I spoke too soon. I can plot the matrix, but not contour_plot it.
V = matrix([
[0.020, 0.020, 0.016, 0.014, 0.011, 0.011],
[0.021, 0.018, 0.016, 0.013, 0.010, 0.011],
[0.017, 0.015, 0.015, 0.012, 0.010, 0.011],
[0.013, 0.013, 0.011, 0.009, 0.007,
20 matches
Mail list logo