🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #52

RE: Complex Matrices: C source

#52
From: Han de Bruijn
Date: Mon, 02 Nov 1992 08:57
26 lines
1794 bytes
In article <mjerosc-311092221815@esemac.erenj.com> Michael Jerosch-Herold:
> I know that lapack has routines which accomplish this, but
> I prefer C code and before I try my luck with the Fortran to 
> C translator "f2c" I thought I first inquire if such code 
> can be found at an ftp site.  Also "f2c" is not too good at
> dealing with code related to matrices, I heard.

Another possibility is to _interface_ Fortran with C. It requires some
rudumentary knowledge of _both_ languages, but usually pays the effort.
(I'm an experienced Fortran programmer but I learned a few bits of C.)

For example NAG brings out the so called "C header files".
If you include these in a C-program, then you can invoke routines from
the NAG Fortran library (object codes), as if they were written in C.

Why should you re-invent the wheel, huh?

> Any ftp site which has this sort of code?  In what language is
> BLAS written?  

It's all in Fortran, of course.
-- 
* Han de Bruijn; Applications&Graphics | "A little bit of Physics * No
* TUD Computing Centre; P.O. Box 354   | would be NO idleness in  * Oil
* 2600 AJ  Delft; The Netherlands.     | Mathematics" (HdB).      * for
* E-mail: Han.deBruijn@RC.TUDelft.NL --| Fax: +31 15 78 37 87 ----* Blood
Technical Details
Message-ID: <1992Nov2.085721.5553@dutrun2.tudelft.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!dutrun2!dutrun2!rcpshdb

Show Full Headers
Complete Article Headers
Newsgroups: sci.math.num-analysis
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!dutrun2!dutrun2!rcpshdb
From: rcpshdb@dutrun2.tudelft.nl (Han de Bruijn)
Subject: RE: Complex Matrices: C source
Message-ID: <1992Nov2.085721.5553@dutrun2.tudelft.nl>
Originator: rcpshdb@dutrun2.tudelft.nl
Sender: news@dutrun2.tudelft.nl (UseNet News System)
Nntp-Posting-Host: dutrun2.tudelft.nl
Reply-To: rcpshdb@dutrun2.tudelft.nl (Han de Bruijn)
Organization: Delft University of Technology
Date: Mon, 2 Nov 1992 08:57:21 GMT
Lines: 26