![]() |
![]() |
#1 |
Apr 2012
2·47 Posts |
![]()
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 |
![]() |
![]() |
![]() |
#2 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
24×13×29 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. |
![]() |
![]() |
![]() |
#3 | |
Apr 2012
10111102 Posts |
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#6 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
160658 Posts |
![]()
Python can handle arbitrarily large integers with GMP in the backend (not that the user needs to care). You can also use matplotlib to do plotting (it's designed to emulate Matlab plotting for Python).
It doesn't quite have the built in number theory stuff like Pari/GP, but I much prefer its syntax (and I don't think Pari/GP has any plotting utilities?) |
![]() |
![]() |
![]() |
#7 |
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.
|
![]() |
![]() |
![]() |
#8 | |
Apr 2012
10111102 Posts |
![]() Quote:
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 |
|
![]() |
![]() |
![]() |
#9 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
3×23×149 Posts |
![]()
doesn't "a=[1,2,3,4,5];" work?
|
![]() |
![]() |
![]() |
#10 | |
Aug 2006
5,987 Posts |
![]() Quote:
Code:
v=vector(100, i, 7) Code:
v=vector(100, i, i^2) Code:
v=[1, 3, 7, 9] |
|
![]() |
![]() |
![]() |
#11 |
Apr 2012
1368 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 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finding multiples of a real number that are close to a whole number | mickfrancis | Math | 16 | 2017-03-01 07:17 |
Estimating the number of primes in a partially-factored number | CRGreathouse | Probability & Probabilistic Number Theory | 15 | 2014-08-13 18:46 |
Number of distinct prime factors of a Double Mersenne number | aketilander | Operazione Doppi Mersennes | 1 | 2012-11-09 21:16 |
Fermat number F6=18446744073709551617 is a composite number. Proof. | literka | Factoring | 5 | 2012-01-30 12:28 |
Best Software? | Unregistered | Homework Help | 0 | 2008-10-07 01:00 |