Bill Allombert on Mon, 10 Apr 2023 19:59:01 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Factorial in parapply
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Factorial in parapply
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 10 Apr 2023 19:57:46 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1681149458; c=relaxed/relaxed; bh=MR0Sthj/dayZp+WXmMwvkFF6Al6BeTzXrLmKsvbnuvI=; h=DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=nIH9F67kp0OLT7F83GRM2NGg58RXfaWNbSApS0/xOoBt6F1d6YmCv2Jc4qP/5NqXB8H+4GSX0+Vo/zsu6ZHli4ZKByAmM26Jola0yOtjggDqsqM9SmuObWLRaIpaD2YmE9LXIs9vkFQil4vV3Qqka401WEBmJQJMBFv7v7IXJOygbrO/ybmv+vISV4dDiekxoMYD2xkNjn3qAWebMiQHAImtJQ9zOh3kGGE5NCPy7AzLw4WyJ1r1PBK8bHpl+GRXhsP7AKfQ9tjJ5G3hFssL85K1E9/u7fMcU+OjNElW4+wBoUwDYPBqYI+OCRA2JfaViD2MFMDVWmFswi+nWYOx0Hf57DKaFnn+gSEgObMIvAnnVm16c++2wPW8kzQqTg9gWVc/JA6ICx/NPyiRZGNaRBPGQvYZ1D9oGHe0NC7cK3Nisic8TWdOWBxw2hulRT5mL/OTP0I3wILDQUfYHBQmUr0PP8RvV88IiUiuQScGk9sAeqb2Wapgn0IcU/fRxl9IuVMoUTqdp7xQ+mTWj//tjmJf8yc6XRz6jcSe/X6mDnB9LG8yi1WomAIozDf+NggmqOt0lHxNK16WtxDh6IDXDyJAwGdN+3eBDCo0mCCHJ0S74mT9WgIyrbluumLL9si8PM+9EKxSsqa6iEa4O/PWJ4EZTf9uB8EJXO820Sot7HE=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1681149458; cv=none; b=lmj32W7Gn1t0FHyeWbL26qQh1YEMdi6ECjc4sL7VfY1dIMOsMvJnRsImJBqOXCgrQt6Mg4fKLU9pU10APHNN0ymNPqYecMxB7rV67fHx/ZcZXZZ27q6kgICfCbbUK0WeCwoHY7rdPHlmKHk57/xhHMT6DZ1i+PUeq3cqNHjQjPdiEUPGuHpJavmgql/Nk31zMHnEB5zs03rYRO/T67D+HDo+1UZM/BoJelMPX1+pzGxmOOEIj/QDpOqFZdm2HdtQllmVI8oekjy9LkNEElGSvJY/z4QY7qYDE0saWMEpzrhctsm7J/vFW0xz7LTxebqBeemHadAZZ1wkq9v6OS6CpICfWablAW1sLfJtViCxzM9jazLzr5em0Bee5KkPuZ3LxgafJmjwQXCkNJ7+osWW5BGyynHt+uX7n3o09AJyGyW70bY7GdYPe8kWp26FRqt/8NSiJLLST7uJHdnBDiVsu5/f4YldLAK4EiCeSgKJcOIroQIvKtAFB4Xy2eCH2HV2nlIV1afLgYignkATn3YHnMS8AdP2339n7Msooi+swRU90E/e4Pc4K9mD5wuGOMii+wXfEwqisOIPaqqG9t8p3K+DWc7bBCnRJx+bfazaFSR/nQENKsJOST4kIoJJksllJZIpb27+ojYTg3qJuc9+kjeWcddUjIq/afZUtV9web4=
- Authentication-results: smail; arc=none
- Cc: Jean-Luc ARNAUD <jl.arnaud@free.fr>
- Delivery-date: Mon, 10 Apr 2023 19:59:01 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1681149458; bh=MR0Sthj/dayZp+WXmMwvkFF6Al6BeTzXrLmKsvbnuvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ep3JGzZLM0nMk4Neubwasw5uHN7I+/kfi4pxjQ7dfGFkJYytoeKxTtsFp9kSB732f R5RLw1Yrcpj6pJXH1M5LT9WFySZN3/E3CEsMzQRKp0OxoFVcKoxhqig1k9RE9u4v1A uCSL0Vu7gJDD9kS4mPHoUZGVVI2Zk2YvRED+VXlurZQHUg9/kbRhGXkE1vyah+33Yu Cr9N8M9TiiaVaz9UOb9D/6MGxbs1a9wfBjWenmVtL3gHf8lTXj67kzWpGgVzZzBbra uj6vq4DIW9WloChUBvj6gWkT64/lM4ujt6i67elWFatwQ2amqUJwc83+5NZH511esv P1PwCq2+laq4Ulg3MBNKVf5lFECHCAVHePrsmPcozSarpqQfXk7PnfbP8438A/jRL8 g6/JI8TluwdTVDuAOr7Iaa6e5nihjIkudg2h6Q/So8MiMZMVnrJp/Qhg+AlrMZ6rLR jdz8+8Aklt75Q3htPSlARc0CdrnuSd0kzmUWvM1mfdqAIDaoCdrPgUHXKua7kPtLyg QVtNfFHQSks+WgXRE2mg7IUITqOarSkHqpGsMeDaZ3Nx4qWJ3UIHIyBrBC371RY0Wi C73kd55H2EsuFWR32+c66Zohy48LikleLzb+WKHcc0zESlt8nVf5sBBIkj5mycdhA4 UvDtCyt9zTxwmxzGrkcny2gk=
- In-reply-to: <f6638291-b292-3ded-5d58-f664114c34fb@free.fr>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr, Jean-Luc ARNAUD <jl.arnaud@free.fr>
- References: <f6638291-b292-3ded-5d58-f664114c34fb@free.fr>
On Mon, Apr 10, 2023 at 07:45:58PM +0200, Jean-Luc ARNAUD wrote:
> Hi all,
>
> Is there a way to use a factorial function in a parapply command?
>
> It seems like parapply(!,[10,100,1000]) does not work.
You can do
parapply(x->x!,[10,100,1000])
or if you really like, you can give a name to the factorial with
alias():
alias(factorialint,"_!") \\ at the start of your file
parapply(factorialint,[10,100,1000])
Cheers,
Bill.