Re: Usage of complex numbers?
From: Eric K. (ejko123_at_yahoo.com)
Date: 03/11/04
- Next message: David Frank: "Re: dbase reader"
- Previous message: Arthur J. O'Dwyer: "Re: Usage of complex numbers?"
- In reply to: Calum: "Re: Usage of complex numbers?"
- Next in thread: Calum: "Re: Usage of complex numbers?"
- Reply: Calum: "Re: Usage of complex numbers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Mar 2004 20:47:36 -0800
Calum <calum.bulk@ntlworld.com> wrote in message news:<c2nh27$lge$1@newsg2.svr.pol.co.uk>...
> That's just the design of the language: push as much as possible out
> into libraries. Better in my opinion.
Not particularly. The most heavily used datatype in scientific programming
is the array, which C and C++ don't even support in the base language except
as a pointer to a block of storage. The C++ committee placed the support
for array-like objects in the library with two mutually incompatible
mechanisms, vector and valarray. It would have been much better from the point
of view of code reuse, efficiency, and clarity to have added Fortran-like
arrays to the base language.
In a more sophisticated context, it's easier to write and debug a code with
OpenMP, where you get help from the compiler, than to make a bunch of calls
to pthreads or MPI routines, which the compiler doesn't understand.
--Eric
- Next message: David Frank: "Re: dbase reader"
- Previous message: Arthur J. O'Dwyer: "Re: Usage of complex numbers?"
- In reply to: Calum: "Re: Usage of complex numbers?"
- Next in thread: Calum: "Re: Usage of complex numbers?"
- Reply: Calum: "Re: Usage of complex numbers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|