[sage-devel] Re: Definition of multifactorial #5415

2015-10-31 Thread prateek sharma
So what should be the result of 5.multifactorial(3)... 5 or 10? On Wednesday, October 28, 2015 at 2:41:59 PM UTC+5:30, prateek sharma wrote: > > Hi, > I am looking for multifactorial function in the source code but unable > to.Help me out... > -- You received this message because you are subscr

[sage-devel] Should other programs read their configuration files?

2015-10-31 Thread Andrey Novoseltsev
Apparently our R interface does not, because it is started with "--vanilla" switch, whose meaning is (on the bottom): --saveDo save workspace at the end of the session --no-save Don't save it --no-environ Don't read the site and user environment files

[sage-devel] Re: Error installing package mpir-2.7.0 on arch linux

2015-10-31 Thread Bill Hart
Hi, I'm one of the MPIR developers. I am unable to find any information on this issue. And Arch Linux seems to have a working MPIR-2.7.0 package which doesn't require any specific patching: https://aur.archlinux.org/packages/mpir/ My guess is something unusual with your system, or a recent ch

[sage-devel] Re: Definition of multifactorial #5415

2015-10-31 Thread Nils Bruin
On Saturday, October 31, 2015 at 8:31:59 AM UTC-7, prateek sharma wrote: > > From the given code for > sage:5.multifactorial(3) > 5 > But the result should be 10. > There has been work on this: http://trac.sagemath.org/ticket/5415 but it looks like momentum was lost. There seems to be some disa

[sage-devel] Re: Definition of multifactorial #5415

2015-10-31 Thread prateek sharma
>From the given code for sage:5.multifactorial(3) 5 But the result should be 10. I changed th recurssion code but its still not working properly. Can anybody help me out? On Wednesday, October 28, 2015 at 2:41:59 PM UTC+5:30, prateek sharma wrote: > > Hi, > I am looking for multifactorial function

[sage-devel] Re: Definition of multifactorial #5415

2015-10-31 Thread prateek sharma
def multifactorial(self, int k): r""" Computes the k-th factorial `n!^{(k)}` of self. For k=1 this is the standard factorial, and for k greater than one it is the product of every k-th terms down from self to k. The recursive definition is used to exte

[sage-devel] Re: git on xkcd

2015-10-31 Thread Nathann Cohen
> > so I guess the optional='internet' hasn't been running yet when people do > tests... > No, it hasn't. So far only the (new style) optional packages are automatically detected and tested. I started (and gave up) an attempt to bring this further: http://trac.sagemath.org/ticket/18904 I