Best math programming language?
As you folks may know, I love math! I know almost all programming languages, but which one should I use for math. Basically, I want:
Easy type conversion
I don't care if it is object-oriented or not'
Can handle LARGE numbers
And speed!
I do not need graphical features, just math!
Related Article: why single prog language
is a Computer Science discussion thread by aminit that has 6 replies and was last updated 2 years ago.
Romil797
Junior Poster in Training
51 posts since May 2009
Reputation Points: 10
Solved Threads: 3
Skill Endorsements: 0
I don't know how you feel about it-- but I would use Perl. Perl generally has a "no limits" ideology. It's not the fastest language around, but it's really simple to learn and you can do a lot quickly with the code. It's my favorite language for solving algorithm/math problems (like those at Project Euler).
If speed becomes an issue with Perl you could always do some inline C code to try an speed it up.
\007
Junior Poster in Training
67 posts since Apr 2011
Reputation Points: 21
Solved Threads: 6
Skill Endorsements: 0
Momerath
Senior Poster
3,730 posts since Aug 2010
Reputation Points: 1,336
Solved Threads: 624
Skill Endorsements: 13
MATLAB is another popular mathematical scripting language.
darkagn
Nearly a Posting Virtuoso
1,223 posts since Aug 2007
Reputation Points: 404
Solved Threads: 211
Skill Endorsements: 15
C or C++ for things that need to be pretty fast,
Python with the NumPy library for things that you would normally use Matlab for,
Fortran for things that really need to run on a supercomputer and run fast, or if you are using libraries written in Fortran,
Haskell or O'Caml for non-numerical computing math problems that are interesting and difficult.
Rashakil Fol
Super Senior Demiposter
2,732 posts since Jun 2005
Reputation Points: 1,153
Solved Threads: 182
Skill Endorsements: 25
Matlab is good for matrix manipulation and general math. Easy and quick to implement items and quite intuitive, it does differ quite dramatically from other languages such as c etc but worth a look. Only really good if performance is not a main concern as it does have a habit of eating up as much memory as it can. It also is able to manipulate images and sound easily.
eskimo456
Junior Poster in Training
54 posts since Dec 2010
Reputation Points: 10
Solved Threads: 2
Skill Endorsements: 0
its not like a programming language will take years to execute your applications, so just stick to one, learn to optimize your code, and you got what you want
ronnieaka
Junior Poster in Training
63 posts since May 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Python is a lot of fun, and its quite logical in regard to math.
And for maths 'batteries included' with Python nothing beats Sage.
pyTony
pyMod
6,313 posts since Apr 2010
Reputation Points: 879
Solved Threads: 987
Skill Endorsements: 26