Re: A question on Newton's Method
- From: "James Van Buskirk" <not_valid@xxxxxxxxxxx>
- Date: Sun, 3 Apr 2005 19:19:29 -0600
"Jon Harrop" <usenet@xxxxxxxxxxxxxx> wrote in message
news:4250905d$0$27845$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> That is a 2,199-line Fortran program. I believe the equivalent in
> Mathematica is the built-in ListConvolve function which is 12 letters of
> code. Of course, the Mathematica implementation is much more powerful as
it
> works for any "n".
> An OCaml implementation would use FFTW and would probably be <100 lines
and
> also be more powerful than the Fortran you've given.
The other way around, actually. FFTW doesn't claim to be as powerful
as the [elided] link.
> So the Fortran is several orders of magnitude more verbose than it need
be.
> That's hardly what I call a comprehensible example. Any other examples of
> numerical analysis code which is actually simpler in Fortran?
Nope. Sorry you don't get it. If you concentrated on what was
being programmed rather than what you are programming with,
there would be a chance, but I can see now that you are forever
doomed to simply aping the algorithms that other have created,
typically in Fortran, rather than creating any yourself. Good
luck and congratulations on your career in management.
--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end
.
- Follow-Ups:
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- References:
- A question on Newton's Method
- From: David M
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: beliavsky
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- From: Roman Werpachowski
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: James Van Buskirk
- Re: A question on Newton's Method
- From: Jon Harrop
- A question on Newton's Method
- Prev by Date: Re: A question on Newton's Method
- Next by Date: Re: A question on Newton's Method
- Previous by thread: Re: A question on Newton's Method
- Next by thread: Re: A question on Newton's Method
- Index(es):
Relevant Pages
|