1 %module
"Math::GSL::CBLAS"
3 %include
"gsl_typemaps.i"
5 %apply double
*INPUT { float const
*X };
6 %apply float
*INPUT { double const
*X };
8 %apply double
*OUTPUT { float
*C
};
10 #include
"gsl/gsl_cblas.h"
13 %include
"gsl/gsl_cblas.h"
172 %EXPORT_TAGS
= ( all
=> [ @EXPORT_OK
] );
178 Math
::GSL
::CBLAS
- Basic Linear Algebra Subprograms based on C functions
182 use Math
::GSL
::CBLAS qw
/:all
/;
186 Here is a list of all the functions included in this module
:
190 =item C
<cblas_sdsdot
>
198 =item C
<cblas_cdotu_sub
>
200 =item C
<cblas_cdotc_sub
>
202 =item C
<cblas_zdotu_sub
>
204 =item C
<cblas_zdotc_sub
>
214 =item C
<cblas_scnrm2
>
216 =item C
<cblas_scasum
>
218 =item C
<cblas_dznrm2
>
220 =item C
<cblas_dzasum
>
222 =item C
<cblas_isamax
>
224 =item C
<cblas_idamax
>
226 =item C
<cblas_icamax
>
228 =item C
<cblas_izamax
>
256 =item C
<cblas_srotmg
>
264 =item C
<cblas_drotmg
>
278 =item C
<cblas_csscal
>
280 =item C
<cblas_zdscal
>
420 =item C
<cblas_ssyr2k
>
432 =item C
<cblas_dsyr2k
>
444 =item C
<cblas_csyr2k
>
456 =item C
<cblas_zsyr2k
>
466 =item C
<cblas_cher2k
>
472 =item C
<cblas_zher2k
>
474 =item C
<cblas_xerbla
>
478 This module also contains the following constants
:
482 =item C
<$CblasRowMajor
>
484 =item C
<$CblasColMajor
>
486 =item C
<$CblasNoTrans
>
488 =item C
<$CblasTrans
>
490 =item C
<$CblasConjTrans
>
496 =item C
<$CblasNonUnit
>
502 =item C
<$CblasRight
>
506 For more informations on the functions
, we refer you to the GSL offcial documentation
: L
<http
://www.gnu.org
/software
/gsl
/manual
/html_node
/>
508 Tip
: search on google
: site
:http
://www.gnu.org
/software
/gsl
/manual
/html_node
/ name_of_the_function_you_want
515 Jonathan Leto
<jonathan@leto.net
> and Thierry Moisan
<thierry.moisan@gmail.com
>
517 =head1 COPYRIGHT
AND LICENSE
519 Copyright
(C
) 2008 Jonathan Leto and Thierry Moisan
521 This program is free software
; you can redistribute it and
/or modify it
522 under the same terms as Perl itself.