Re: best software environment for numerical analysis

From: Phil Webb (philwebb_at_nospam.radiolink.net)
Date: 09/18/04


Date: Sat, 18 Sep 2004 17:01:03 +0100


>You were probably using Fortran 77.

yes it was....
>Fortran 90 and 95 have greatly improved
>the language. For code using arrays, especially multidimensional arrays,
>it easier to work in Fortran 95 than C++ IMO. Fortran 90 is a strict superset
>of F77 and Fortran 95 is a superset for practical purposes (F95 comopilers
>still support the few F77 features officially deleted), so your F77 knowledge
>is still good.
>
>There is a free Fortran 95 compiler for Linux, called G95, at http://www.g95.org
> I have used it on SuSE Linux 9.0 .
i have found using arrays within pascal to be messy at the time.

I have become jack of all trades and master of none. all a long time
ago. i have done a 'bit' of: assembly language in DOS, fortran77 on
solaris, some embedded ADA, DOS pascal, EXCEL Visual Basic. I want to
try industry standard that will be here in a while.

A fair amount of tricky code, and therefor at risk of error, is in the
play of the hands. many different rules at different casinos, slightly
different. hence object orientation techniques - data abstraction,
infomation hiding etc are very important. eg shoe.shuffle, or
shoe.flip_next_card, shoe.number_of_decks=6.

I know ADA and pascal can pass functions as variables to procedures.
this type of stuff was useful last time i tried. i assume you can do
this in C++ as well.

>Unless speed is very important, I think Python is fine, especially in conjunction
>with the Numeric or Numarray modules and SciPy. There are many math libraries
>callable from Python, and it is possible to call C and Fortran libraries.

speed is important do to the high variance of the game and hence
number of simulations required to determine "the long run". but there
is more than one way to skin a cat. maybe i can scrouge CPU usage from
somewhere else.

The first part of my analysis will be to do probabilties as the count
varies for different hands. the statistical aspects of variance etc
will be later.

I get the impression Python can be useful as a glue language to call
routines written in other languages. this in itself seems useful even
if most of the code is implented in other languages.

can python call ADA stuff as well?

I have been doing some searching on the internet to compare languages
but i am using internet cafes at the moment so internet access is
limited. my usenet server has a 24hour'ish delay on updating posted
messages.(astraweb.com) . so there is a delay to read your guys tips.

>
>
>----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
>http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
>---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---



Relevant Pages

  • Re: About alternatives to Matlab
    ... For arrays of about n^18 or less and 2MB cache ... With my two OCaml implementations, the lifting scheme is always slower. ... Can convolution be implemented efficiently in Python? ... Python language performance comparison and showed that C++, ...
    (comp.lang.python)
  • Re: Theodore Adorno, a prophet of data systems design
    ... I have a program which reads the log file looking for leaks.) ... > The second objection is that the C language leaves certain behaviours ... the way in which C allocates arrays and fails to ... >> The ideal is in fact to be able to create a string, ...
    (comp.programming)
  • Re: why cant functions return arrays
    ... The real problem with the idea of changing C to allow arrays to be ... treated as first-class objects is that there's no good way to do so ... The C language is already quite useful, ... but is really a pointer). ...
    (comp.lang.c)
  • Re: A VB.NET Critique
    ... You believe certain types, like strings and arrays, shouldn't be ... Should the language still ... They *aren't* reference types. ... Under your scheme, every new rectangle declaration just broke, and broke ...
    (comp.programming)
  • Re: c / c++ : is it end of era ?
    ... null-terminated strings doesn't mean that null-terminated strings are a ... That's a design flaw. ... has taken the trouble to learn the language. ... and the other sophistications of when arrays are ...
    (comp.lang.c)

Loading