![]() |
![]() |
#1 |
Nov 2004
UK
468 Posts |
![]()
Would it be beneficial to users to have some example code in the factorization and primality checking pages of the wiki?
I realise that some topics may well be beyond simple code (GNFS, ECM etc), however many other topics are IMHO ripe for examples, Trial Division, P-1, P+1, Rho, Lucas etc... |
![]() |
![]() |
![]() |
#2 |
Jun 2005
Near Beetlegeuse
22·97 Posts |
![]()
You will find a whole page on how to post maths here:
http://www.mersennewiki.org/index.ph...:Math_Formulas |
![]() |
![]() |
![]() |
#3 |
Aug 2002
Buenos Aires, Argentina
2·761 Posts |
![]()
Should it be pseudocode or code in an actual language?
Also many languages do have big integer support. If using C or C++ the code should be written using GMP library, but of course this is not useful because this code is already available for anybody who accepts the [L]GPL license. Just use a Web search engine. I think the best approach is to write an animation in Java of how the algorithm progresses step by step. The problem here is that the wiki does not support applets. Maybe "Xyzzy" can patch the wiki so a "sysop" (like me ![]() Alternatively, I can host in my Web server these animations and set External Links in the related articles. Last fiddled with by alpertron on 2005-12-18 at 20:13 Reason: Fix typo |
![]() |
![]() |
![]() |
#4 |
Nov 2004
UK
2×19 Posts |
![]()
Personnally, I was thinking of C with the GMP library (simply because that's what I use), but I realise that there are many languages and many large integer libraries.
Perhaps a little pseudocode would be more in order, but with links to an external site with further examples in a variety of languages / libraries. (Although, I'm not sure how we could improve each other's code that way). |
![]() |
![]() |
![]() |
#5 |
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
2·3·11·167 Posts |
![]()
I was trying to add an infobox and it didn't seem to take. Does this version support infoboxen? I was hoping to set them up for programs, people, and projects. I burrowed the code from the mother wiki, but it didn't seem to take.
|
![]() |
![]() |
![]() |
#6 |
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
1102210 Posts |
![]()
I had totally forgotten that I tried that before.
|
![]() |
![]() |
![]() |
#7 |
Aug 2006
176416 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Wiki is down! | Uncwilly | mersennewiki | 16 | 2018-10-23 23:16 |
Wiki upgrade... | Xyzzy | mersennewiki | 3 | 2011-02-18 03:31 |
wiki licensing? | ixfd64 | mersennewiki | 6 | 2006-05-22 12:05 |
Noticed something on wiki | moo | Hardware | 4 | 2006-04-14 03:36 |
Counter-examples, please | Numbers | Miscellaneous Math | 4 | 2005-12-29 11:03 |