>>>>> "Edwin" == Edwin Woollett <woollett at charter.net> writes:
Edwin> Would someone give me an example of how
Edwin> I can use f2cl (via ..src/numerical/f2cl-package.lisp)
Edwin> to convert some fortran procedures to common
Edwin> lisp.
Maxima does not include the actual code that does the translation.
Maxima only includes the support library needed by the translated
code. If you want to translate some Fortran code, you'll have to get
your own copy of f2cl. I'd recommend using quicklisp (quicklisp.org)
to get f2cl. Or you can get it from
http://trac.common-lisp.net/f2cl/. (Documentation is very limited
there. If you view the source, there is a document describing how to
use f2cl. It's a bit dated. The documentation needs to be updated.)
Edwin> Do I need a fortran source file?
Normally, yes. But you could just write Lisp code directly. But
then, why use f2cl at all in that case?
Edwin> Where does the translation appear?
If you have f2cl, it will normally appear in the same directory as the
Fortran source, but you can specify where you want it to go and what
name to use too.
Edwin> What kinds of editing is needed after the
Edwin> translation occurs to be able to use for
Edwin> numerical work inside Maxima?
If you run (f2cl:f2cl "src.f" :float-format 'double-float :package
:maxima) then you probably don't need to do any editing to be able to
use it as is with maxima.
Ray