ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 14 Nov 2019 20:20:31 +0100Functions in GAPhttps://ask.sagemath.org/question/48711/functions-in-gap/ How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)?
Tue, 12 Nov 2019 21:30:04 +0100https://ask.sagemath.org/question/48711/functions-in-gap/Comment by Iguananaut for <p>How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)? </p>
https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48715#post-id-48715Are you asking about using GAP in Sage, or just GAP in general? Also what would you like to implement exactly? Have you read the [GAP tutorial](https://www.gap-system.org/Manuals/doc/tut/chap4_mj.html) section on defining functions? Also, have you looked in the GAP [reference](https://www.gap-system.org/Manuals/doc/ref/chap16.html#X83DC50B67D74E674) manual? Some things already exist (or in packages) though it depends on what you want to do.Wed, 13 Nov 2019 14:20:08 +0100https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48715#post-id-48715Comment by hayyambey for <p>How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)? </p>
https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48718#post-id-48718i've examined to the Reference book and Tutorial. i want to design two basic program, then compare the times. for example: GCD's two different algorithm.Wed, 13 Nov 2019 16:21:04 +0100https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48718#post-id-48718Comment by Iguananaut for <p>How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)? </p>
https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48728#post-id-48728Have you tried writing one of the GCD algorithms, then? If so, what specific problems did you encounter?Thu, 14 Nov 2019 12:32:48 +0100https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48728#post-id-48728Comment by hayyambey for <p>How can i write special numbers(Mersenne, Fibonacci etc.) or the average or the GCD's two different algorithm in GAP(Group, Algebra and Programming)? </p>
https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48733#post-id-48733Alhamdulillah, i wrote finding the mersenne primes(by the miller-rabin and lucas- lehmer) last night :)
thank you for wanting to help, sir.Thu, 14 Nov 2019 20:20:31 +0100https://ask.sagemath.org/question/48711/functions-in-gap/?comment=48733#post-id-48733