mersenneforum.org software advise? big number with GUI
 Register FAQ Search Today's Posts Mark Forums Read

 2013-03-21, 15:13 #1 skan     Apr 2012 2×47 Posts software advise? big number with GUI Hello I know there are some libraries such as MPIR or GMP to do manipulate and factorize big numbers. But not instead of dealing with compilers I I would like to quickly prototype and test some algorithms. What software do you advise me to use? I mean something with GUI not only to compile but also to generate plots and perform simple modular calculations. At the moment I'm abroad and using a very old laptop, so Matlab is not an option because it needs a lot of disk and resources. Other options could be R or Octave, but I think that none of them (including Matlab) are able to manipulate very big integer numbers, and they are slow. Mahematica can work with large numbers and it's smaller than Matlab, though I'm looking for somethin smaller. Then, what program do you advise?. Something simple but with big number library and plot capabilities. something like yafu+gnuplot+little bit else. regards
 2013-03-21, 16:43 #2 henryzz Just call me Henry     "David" Sep 2007 Cambridge (GMT/BST) 25×5×37 Posts I have always found the BigInteger class in c# quite easy to use. It isn't as fast as things like gmp or mpir but it would do for prototyping. If you want a low footprint compiler I would suggest http://mono-project.com/Main_Page/ I have always used Microsoft's compiler so I am assuming that mono has implemented that class(they should have it has been out for ages). I also can't guarentee that Mono's implementation is as fast etc. Most people here use MPIR or GMP. Using them is a little more tricky in my opinion.
2013-03-21, 16:48   #3
skan

Apr 2012

10111102 Posts

Quote:
 Originally Posted by henryzz I have always found the BigInteger class in c# quite easy to use. It isn't as fast as things like gmp or mpir but it would do for prototyping. If you want a low footprint compiler I would suggest http://mono-project.com/Main_Page/ I have always used Microsoft's compiler so I am assuming that mono has implemented that class(they should have it has been out for ages). I also can't guarentee that Mono's implementation is as fast etc. Most people here use MPIR or GMP. Using them is a little more tricky in my opinion.
Hi

But now I don't want to create source files and later compile them but a program to run inline functions and plots, such as we do with Matlab, R... but with big number capabilities.

 2013-03-21, 17:18 #4 Batalov     "Serge" Mar 2008 Phi(4,2^7658614+1)/2 957110 Posts
2013-03-21, 17:31   #5
skan

Apr 2012

2·47 Posts

Quote:
 Originally Posted by Batalov
OK thanks, I'll try

 2013-03-21, 21:44 #6 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
 2013-03-21, 22:44 #7 TObject     Feb 2012 34×5 Posts There is also XNUMBERS plugin for Excel; but charting with it may be hard, since big numbers are stored as text.
2013-03-21, 23:50   #8
skan

Apr 2012

2·47 Posts

Quote:
 Originally Posted by TObject There is also XNUMBERS plugin for Excel; but charting with it may be hard, since big numbers are stored as text.
Excel is slower than any other thing in the world .

I've installed Pari/GP. I did already seen it many years ago.
it can produce plots easily but it opens the "paint" program to view the plots (I mean in Windows).
I've being doing some simple tests on Pari and R simultaneously.
Pari is faster and can handle bigger numbers but it's a little bit oldfashioned and more difficult.
For example in R you can create and initializa very easily constant vectors and sequences but I don't know how to do it with Pari without loops.
I need to do more tests.

Regards

Last fiddled with by skan on 2013-03-21 at 23:52

 2013-03-22, 02:30 #9 LaurV Romulan Interpreter     "name field" Jun 2011 Thailand 978710 Posts doesn't "a=[1,2,3,4,5];" work?
2013-03-22, 08:49   #10
CRGreathouse

Aug 2006

3×1,993 Posts

Quote:
 Originally Posted by skan For example in R you can create and initializa very easily constant vectors and sequences but I don't know how to do it with Pari without loops.
Code:
v=vector(100, i, 7)
gives a vector of length 100 filled with 7s.

Code:
v=vector(100, i, i^2)
gives the squares 1^2, 2^2, ..., 100^2.

Code:
v=[1, 3, 7, 9]
gives a(n arbitrary) constant vector.

 2013-03-22, 12:37 #11 skan     Apr 2012 2×47 Posts Oh, thanks, I was using a fast reference pdf sheet and that didn't appear there. I was using R because I'm more used to it but it's not able to handle big numbers. I was curious to see the statistics of my factorization method, but it seems to be very slow. Regards

 Similar Threads Thread Thread Starter Forum Replies Last Post mickfrancis Math 16 2017-03-01 07:17 CRGreathouse Probability & Probabilistic Number Theory 15 2014-08-13 18:46 aketilander Operazione Doppi Mersennes 1 2012-11-09 21:16 literka Factoring 5 2012-01-30 12:28 Unregistered Homework Help 0 2008-10-07 01:00

All times are UTC. The time now is 14:50.

Sat Oct 23 14:50:24 UTC 2021 up 92 days, 9:19, 0 users, load averages: 2.46, 1.89, 1.51