I have a file called hyperplane_arrangement.py in my home directory, and
when I run
sage -t hyperplane_arrangement.py
from my home directory, all tests pass. The same file appears in the
directory SAGEHOME/devel/sage-test/sage/geometry. If I cd into that
directory and run sage -t hyperplane
Thanks! That works. I have now posted the correct patch to trac.
On Thursday, August 1, 2013 2:13:47 PM UTC-7, kcrisman wrote:
>
>
>
> On Thursday, August 1, 2013 4:55:07 PM UTC-4, William wrote:
>>
>> On Thu, Aug 1, 2013 at 1:40 PM, davidp wrote:
>> > I am t
I am trying to post a patch to trac. I have modified one file
(sage/geometry/all.py) and added a new file
(sage/geometry/hyperplane_arrangement.py). I have followed the directions
at http://sagemath.org/doc/developer/walk_through.html#creating-a-sandbox
carefully. When I get to the part where
ments/arr.htm<http://math.mit.edu/~rstan/arrangements/arr.html>
l). Anyone interested in giving it a test run without making a clone,
etc., could download the file
http://www.reed.edu/~davidp/hyperplane_arrangement.py then, at the command
line, run
sage: %runfile path-to-download/hyperplane_arr
On Monday, July 22, 2013 6:58:11 AM UTC-7, Volker Braun wrote:
>
> On Sunday, July 21, 2013 8:35:24 PM UTC-4, davidp wrote:
> > At the moment, I just have Hyperplane as a class deriving from
> AffineSpace (my version of AffineSpace, that is, which I will change, as
> &
g: in the next few days I will post a
substantial change to that posting. To get an idea, though, you might
download hyperplane.sage, posted there.
> On Sunday, July 21, 2013 5:54:25 PM UTC-4, davidp wrote:
>>
>> I have created three classes: AffineSpace, Hyperplane (inheriting
Figured out my problem. I was defining a method for my
HyperplaneArrangement class but forgot to include 'self' as an argument.
Duh.
Dave
On Sunday, July 21, 2013 12:58:24 PM UTC-7, davidp wrote:
>
> I am working on a Sage package for hyperplane arrangeme
yperplane arrangements, though. Do you have
> a particular data structure in mind or is your plan to just keep a
> collection of hyperplanes?
>
>
>
> On Sunday, July 21, 2013 3:58:24 PM UTC-4, davidp wrote:
>>
>> I am working on a Sage package for hyperplane arrangements.
I am working on a Sage package for hyperplane arrangements. In my file
hyperplane_arrangement.py,
I would like to use the function 'center'
from sage/geometry/polyhedron/basepy. (It finds the center of a
polyhedron.)
I have tried to import it with
import from sage.geometry.polyhedron.base i
I just noticed this post to the arXiv. Is Meinholf Geck in touch with
Sage?
--Dave
Title: PyCox: Computing with (finite) Coxeter groups and Iwahori-Hecke
algebras
Authors: Meinolf Geck
Categories: math.RT
Comments: 31 pages
MSC-class: 20C40, 20C08
\\
We introduce the computer algebra package {
The command 'sage -i 4ti2' gives
"/usr/local/sage-4.7.1/local/bin/sage-spkg: file 4ti2 does not exist
Attempting to download it.
Searching for latest version of 4ti2
Found package 4ti2-20061025
..."
and subsequently crashes (never having installed 4ti2).
The version of 4ti2 listed at http://sage
Lines 1483 and 1484 in polyhedra.py are
projection.render_vertices_3d(width=3, color='green', **kwds) +
\
projection.render_wireframe_3d(width=3, color='green', **kwds)
+ \
Setting the color and width here prevents the user from doing this at
the command line (see example below).
unday, August 14, 2011 9:49:53 AM UTC-7, davidp wrote:
>
> > Thanks for pointing out the media directory.
>
> > Trying to add the directory did not work for me (even after re-trying
> > with the full path name):
>
> > Adding each individual file separately worked, tho
doc/en/thematic_tutorials/media/sandpile/random.png
A doc/en/thematic_tutorials/sandpile.rst
***
Thanks!
On Aug 13, 2:18 pm, John H Palmieri wrote:
> On Saturday, August 13, 2011 1:11:46 PM UTC-7, davidp wrote:
>
> > I just attached a patch file
doc/en/thematic_tutorials/media/sandpile/random.png
A doc/en/thematic_tutorials/sandpile.rst
***
Thanks!
On Aug 13, 2:18 pm, John H Palmieri wrote:
> On Saturday, August 13, 2011 1:11:46 PM UTC-7, davidp wrote:
>
> > I just attached a patch file
I just attached a patch file for trac 11682 in the trac system. The
patch was intended to modify the /doc/en/thematic_tutorials
directory by: (1) addng the file 'sandpile.rst', (2) modifying the
file 'index.rst', and (3) adding a directory 'sandpile' holding png
image files for sandpile.rst.
I ju
I have communicated specific suggestions to the webmaster. I guess
that's the appropriate way of dealing with this.
On Aug 12, 11:36 am, davidp wrote:
> A "ticket", that is (not "trac").
>
> On Aug 12, 11:35 am, davidp wrote:
>
>
>
>
>
>
&g
A "ticket", that is (not "trac").
On Aug 12, 11:35 am, davidp wrote:
> I think it should be easier to find the Thematic Tutorials (http://
> sagemath.org/doc/thematic_tutorials/). I only learned about these
> tutorials by accident using Google.
>
> In fact,
I think it should be easier to find the Thematic Tutorials (http://
sagemath.org/doc/thematic_tutorials/). I only learned about these
tutorials by accident using Google.
In fact, now that I look more closely at the Documentation page,
http://sagemath.org/help.html#SageStandardDoc, I see there is
I will give at least a small demo of my Sage package for the abelian
sandpile model in the session on "Laplacian growth":
http://www.ams.org/meetings/national/jmm/2125_program_mipgroab.html#title
--Dave
On Nov 29, 5:53 pm, kcrisman wrote:
> (Posted primarily to sage-edu, cc:ed to sage-devel):
>
Excellent. This worked, both on my laptop and on my desktop.
Thank you.
Dave
>
> Try rebuilding mpir, then try installing 4ti2.p0 again.
>
> sage -f mpir-1.2.2.p0
>
> William
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--
To post
-zbasis_main.o 4ti2gmp-main.o lib4ti2gmp.la -L/usr/
local/sage-4.3.2/local/lib -R/usr/local/sage-4.3.2/local/lib -lglpk
libtool: link: warning: library `/usr/local/sage-4.3.2/local/lib/
libgmpxx.la' was moved.
libtool: link: cannot find the library `/home/davidp/downloads/
sage-4.3.2/local/lib/libg
But then there is the problem of needing distinct names for the
vertices of the line graph. Thus, line_graph doesn't handle multiple
edges correctly either.
Dave
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+u
Solution?:
The beginning of the code for line_graph:
if self._directed:
G=DiGraph()
G.add_vertices(self.edges(labels=labels))
for v in self:
# Connect appropriate incident edges of the vertex v
G.add_edges([(e,f) for e in
The line graph of a graph consisting of a single loop should again be
a single loop.
sage: g = DiGraph(matrix([[1]]),format='adjacency_matrix')
sage: g.loops()
[(0, 0, None)]
sage: lg = g.line_graph()
sage: lg.num_edges() # PROBLEM: there should be one
edge
0
My motivation:
The
oaded_packages’
Updating HTML index of packages in '.Library'
Warning messages:
1: In install.packages("aaMI") :
installation of package 'aaMI' had non-zero exit status
2: In file.create(f.tg) :
cannot create file '/home/davidp/download/sage-4.2/local/lib
Marshall and David: thanks very much for these suggestions.
Dave
On Jul 20, 4:59 am, David Joyner wrote:
> On Sun, Jul 19, 2009 at 3:33 PM, davidp wrote:
>
> > I have been working on a Sage package for doing computations involving
> > the
> > Abelian Sandpile Model. In
the
ability to interact with Sage. For a glance at what has been going
on, I would
recommend:
www.reed.edu/~davidp/sand
especially
www.reed.edu/~davidp/sand/sage/html/sage_sandpiles.html
and
www.reed.edu/~davidp/sand/program/program.html
It would be great to get feedback from Sage users
dden, so I thought you might
want to know about this.
It is great to have simplicial complexes in Sage!
Thanks,
Dave
On May 26, 4:25 pm, John H Palmieri wrote:
> On May 26, 3:19 pm, davidp wrote:
>
>
>
> > Should there be a facets method? Should self.facets be self._facets?
>
TypeError Traceback (most recent call
last)
/home/davidp/.sage/temp/poly/15731/
_home_davidp_math_sandpile_sage_sage_sandpile1_4_sandpile_sage_250.py
in ()
TypeError: 'list' object is not callable
sage: s.facets
[(
I would be happy to give any Sage developer from out of town a place
to stay during the event. I am not a Sage developer, so I don't feel
qualified to give a presentation. However, if you can't find anyone,
perhaps I could be coached during Sage Days 15.
Dave
On Apr 5, 11:53 am, William Stein
>
> I haven't seen a definition of the laplacian matrix for looped digraphs,
> but sure, okay, I assume this is standard, then? I don't think the
> laplacian_matrix function calculates this quantity for digraphs. This
> might be a bug, then.
It is standard to take the Laplacian to be D - A wher
>
> > 4. In the second call, there should not be loops at each vertex.
>
> Yes, there should be. It's a weighted graph with loops on the vertices,
> since the laplacian has nonzero diagonal entries.
>
> Thanks,
>
> Jason
The diagonal entries in the laplacian give the out_degrees of the
correspon
Hi,
It seems to me that the show method for DiGraphs is not working
correctly in Sage 3.4.
EXAMPLE:
sage: G = DiGraph({1:{2: 1}, 2:{1:1}})
sage: G.show()
sage: DiGraph(G.laplacian_matrix()).show()
1. The first call to show draws the graph with an edge missing.
2. The second call produces edges
I have been working on a Sage package for the Abelian Sandpile Model:
http://people.reed.edu/~davidp/412/
and I have a student that would love to work with me this summer to
really polish it up. (A preliminary version of a sandpile applet he
wrote is at www.reed.edu/~headb/sandpiles.) It
]
[1 0 0]
[1 0 0]
sage: G.laplacian_matrix()
---
IndexErrorTraceback (most recent call
last)
/home/davidp/.sage/temp/xyzzy/16886/
_home_davidp_math_sandpile_sage_sandpile_sage_14.py in ()
>
36 matches
Mail list logo