Re: solve linear systems in boost::numerics::ublas
From: Oleg Trott (oleg_trott_at_columbia.edu)
Date: 02/20/04
- Next message: Tino: "adding/removing elements from std::vector"
- Previous message: Howard Hinnant: "Re: A reference to non-const to be bound to a temporary object"
- In reply to: Tino: "Re: solve linear systems in boost::numerics::ublas"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 Feb 2004 16:44:09 -0500
Tino wrote:
>> Oleg Trott wrote:
>>
>> If you use the Fortran versions, you will also need G2C.
>
> Or you could just call the Fortran libraries directly from
> C/C++...just remember in Fortran, everything is passed by pointer. I
> have a class library that interfaces to LAPACK that I can show you as
> an example.
It probably depends on the compiler actually, but none of the compilers I
use (GCC and Intel) will link to LAPACK without G2C. I think the reason is
that some of the intrinsic Fortran functions (like lg10) do not exist in C,
and so they have to be provided in libraries.
Cheers,
Oleg
-- Oleg Trott <oleg_trott@columbia.edu>
- Next message: Tino: "adding/removing elements from std::vector"
- Previous message: Howard Hinnant: "Re: A reference to non-const to be bound to a temporary object"
- In reply to: Tino: "Re: solve linear systems in boost::numerics::ublas"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading