[sage-support] Bar graphs

2008-01-21 Thread David Kohel
Apologies if this is double-sent; I thought I sent it already but don't find the submission. Suppose I have a discrete function, as at the bottom (in this case a frequency distribution). Does anyone have a good example for producing a bar graph? Ideally I would like both latex and some graphical

[sage-support] Re: nth root

2007-02-12 Thread David Kohel
For integers, Pari also has an ispower function. I think that it is useful to have an n.is_power(k) member function for integers (or more general for ring elements which admit unique factorization of polynomials), and prefer the syntax n.root(k) rather than n.nth_root(k) --David P.S. Back in 19