[sage-support] Re: Help needed

2012-05-29 Thread William Stein
On Tue, May 29, 2012 at 7:35 AM, Dr Avishek Adhikari wrote: > Dear Professor stein, >    I am an user of Sage. I was also a member of > "sage-support@googlegroups.com". But mistakenly, I made > "unsubscription to sage-support". I want to rejoin the group. Please > let me know what to do. You migh

[sage-support] Re: help needed with Classes

2011-09-21 Thread Ken Levasseur
Thanks for the prompt tips. They were perfect! Ken -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support U

[sage-support] Re: help needed with Classes

2011-09-21 Thread Maarten Derickx
Note if you really want to do the things you want to do in the right way you have to learn about categories, parents, elements and the coercion model in sage. see http://www.sagemath.org/doc/reference/sage/categories/primer.html and http://www.sagemath.org/doc/reference/sage/structure/coerce.ht

[sage-support] Re: help needed with Classes

2011-09-21 Thread Maarten Derickx
z.domain() fails because [0,1] is not a function but a list try: z.domain z.operation() fails because operation expects two arguments but it gets none try: z.operation(4,3) display() fails because it calls failing functions -- To post to this group, send email to sage-support@googlegroups.com

Re: [sage-support] Re: help needed with cube

2011-02-17 Thread Robert Bradshaw
On Sun, Jan 30, 2011 at 6:42 AM, Loïc wrote: > Do you think it's better to report it as a bug? Yes. http://trac.sagemath.org/sage_trac/ticket/10796 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

Re: [sage-support] Re: help needed with cube

2011-01-30 Thread Francois Maltey
Robert Bradshaw wrote : On Sun, Jan 30, 2011 at 2:55 AM, Loďc wrote: You're right, size affects the center too. Not very intuituive but now, I know it. I think this behaviour is quite surprising. For example, with sphere, size doesn't affect center I might go so far to call it a

[sage-support] Re: help needed with cube

2011-01-30 Thread Marshall Hampton
You can also doing this using the built-in cube in the polyhedra module. Polyhedra can be rescaled and translated; this does something close to what it looked like you were trying: sage: c = polytopes.n_cube(3) sage: c2 = c*2 sage: p = point((2/3,2/3,0),color='green',size=10) sage: c3 = (1/3)*c +

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Do you think it's better to report it as a bug? Loïc PS: A little program that draws Menger's sponge def menger(size,p,x,y,z,start): if(p>0): start+=1 newsize=size/3 graphic=menger(newsize,p-1,x+newsize,y+newsize,z,start) l=[(x+newsize,y-newsize,z),(x-newsize,

Re: [sage-support] Re: help needed with cube

2011-01-30 Thread Robert Bradshaw
On Sun, Jan 30, 2011 at 2:55 AM, Loïc wrote: > Thanks you very much for your reply > > You're right, size affects the center too. > Not very intuituive but now, I know it. > > I think this behaviour is quite surprising. > For example, with sphere, size doesn't affect center I might go so far

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Thanks you very much for your reply You're right, size affects the center too. Not very intuituive but now, I know it. I think this behaviour is quite surprising. For example, with sphere, size doesn't affect center On 29 jan, 20:04, Francois Maltey wrote: > Hello, > > > I was making som