Re: [sage-support] generate oriented graphs at random

2010-05-13 Thread Minh Nguyen
Hi, On Fri, May 14, 2010 at 11:21 AM, vivek wrote: > Hi > > I need to generate oriented graphs at random or possibly create one > from the graph generated by the function randomGNP. I think here's a rough way to do what you want: * Generate a random graph G with RanomGNP, i.e. G is undirected.

[sage-support] generate oriented graphs at random

2010-05-13 Thread vivek
Hi I need to generate oriented graphs at random or possibly create one from the graph generated by the function randomGNP. Here is the definition of oriented graphs -- http://mathworld.wolfram.com/OrientedGraph.html I am not able to do this correctly. I would be very thankful for any help. --

[sage-support] primality certificate?

2010-05-13 Thread Greg Marks
Is there a SAGE command that will produce a primality certificate for a (prime) integer input? Best regards, Greg Marks | Greg Marks | | Department of Mathematics and Computer Science | | St. Louis U

Re: [sage-support] implicit_plot3d raises MemoryError when bounding box doesn't contain surface

2010-05-13 Thread William Stein
On Thu, May 13, 2010 at 12:40 PM, TianWei wrote: > implicit_plot3d raises a MemoryError when the bounding box defined by > the x,y,z min/max ranges does not contain the surface. For example, > consider the following command that plots half of a sphere: > > sage: var('x, y, z') > > sage: implicit_p

[sage-support] implicit_plot3d raises MemoryError when bounding box doesn't contain surface

2010-05-13 Thread TianWei
implicit_plot3d raises a MemoryError when the bounding box defined by the x,y,z min/max ranges does not contain the surface. For example, consider the following command that plots half of a sphere: sage: var('x, y, z') sage: implicit_plot3d(x^2 + y^2 + z^2 - 1, (x,0,2), (y,-1,1), (z,-1,1)).show(v

[sage-support] optimization algorithm to generate ECC ??

2010-05-13 Thread jose luis
I implemented the algorithm published in ECC Brainpool to generate random elliptic curves. http://tools.ietf.org/html/draft-lochter-pkix-brainpool-ecc-02#page-21 Need to calculate an optimal way to solve in sage de point 4 and 8 of the algorithm The following procedure is used to generate the