atlas.fs 1.4 KB
Newer Older
bp's avatar
bp committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
\ atlas library bindings
\ Copyright (C) 2007, Sergey Plis
\
\ This program is free software; you can redistribute it and/or modify
\ it under the terms of the GNU General Public License as published by
\ the Free Software Foundation; either version 2 of the License, or
\ (at your option) any later version.
\
\ This program is distributed in the hope that it will be useful,
\ but WITHOUT ANY WARRANTY; without even the implied warranty of
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
\ GNU General Public License for more details.

Module atlas

also DOS

bp's avatar
bp committed
18 19
library libatlas libatlas.so
library liblapack liblapack.so depends libatlas
bp's avatar
bp committed
20

bp's avatar
bp committed
21
legacy off warnings off
bp's avatar
bp committed
22

bp's avatar
bp committed
23 24 25 26 27 28 29
\ these functions are provided by atlas, they make life so much easier
\ that inversion of matrices is implemented through them rather than
\ plain fortran functions of lapack, drawback is only one -- you need
\ atlas installed, but this binding is to atlas, remember!
liblapack clapack_dgesv  [ 8 ] ints (int) clapack_dgesv  ( -- )
liblapack clapack_dgetrf [ 6 ] ints (int) clapack_dgetrf ( -- )
liblapack clapack_dgetri [ 5 ] ints (int) clapack_dgetri ( -- )
bp's avatar
bp committed
30

bp's avatar
bp committed
31 32 33 34 35
\ plain fortran routines
liblapack dgetrf         [ 6 ] ints (void) dgetrf_ 
liblapack dgetri         [ 7 ] ints (void) dgetri_ 
liblapack dgesvd        [ 14 ] ints (void) dgesvd_ ( -- )
liblapack dpotrf         [ 5 ] ints (void) dpotrf_ ( -- )
bp's avatar
bp committed
36

bp's avatar
bp committed
37
legacy on warnings on
bp's avatar
bp committed
38 39

previous
bp's avatar
bp committed
40

bp's avatar
bp committed
41
Module;