Teen Programmers Unite  
 

 

Return to forum top

Which language is best for a lot of mathematical content

Posted by gemin [send private reply] at December 30, 2002, 05:58:43 AM

hi,

i'm wondering which language is considered the best when programming a lot of mathematical content. i'm going to be programming things like autocorrelation and extrapolation. i'm thinking of using perl or java.
any ideas?
thanx

Posted by gian [send private reply] at December 30, 2002, 07:39:08 AM

Most modern programming languages will do mathematical stuff fairly well, what's more important is what you actually want to do with that which you calculate. If you want things like built-in imaginary/complex number support then something like Matlab or GNU Octave would do nicely.

Posted by Psion [send private reply] at December 30, 2002, 01:20:19 PM

Standard ML is an excellent choice for pretty much everything. You can see what the Parallel Scientific Computation project at CMU developed as tools for numerical computation in ML at:

http://www-2.cs.cmu.edu/~pscico/

Posted by taubz [send private reply] at December 30, 2002, 01:30:27 PM

There's a pretty nifty open-source mathematical library called GiNaC for C++.

Posted by Kruptos [send private reply] at December 30, 2002, 02:31:14 PM

Then there's also FORTRAN, which was conceived to be a language predominately for mathematical calculations. (Hence the FOR, for FORMULA)

Posted by ItinitI [send private reply] at December 30, 2002, 07:24:28 PM

Um, yeah Fortran.

Posted by Psion [send private reply] at December 30, 2002, 10:57:00 PM

Fortran was invented 30 years before ML. We've made quite some progress since then. No need to waste time with outdated ideas.

Posted by ItinitI [send private reply] at December 30, 2002, 11:08:23 PM

Eeto...
Um, yes, advances since. But, Fortran still useful, agreed a bit different, but still good.

Posted by CDR700 [send private reply] at January 01, 2003, 09:09:58 AM

// Fortran was invented 30 years before ML. We've made quite some progress since then. No need to waste time with outdated ideas. //

Psion: Fortran 66 was but its all Fortran 95 these days so Fortran is always up to date.

Dont forget Matlab !

Posted by Psion [send private reply] at January 01, 2003, 01:05:34 PM

The latest Standard ML definition was in 1997. :P

Posted by CDR700 [send private reply] at January 02, 2003, 06:02:16 AM

The latest Standard ML definition was in 1997. :P

Psion: The latest fortran was F2000 but they havent implemented a stable compiler. There might have even been an F97 , but it was probably all publicity.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.