Merge branch 'master' of http://leto.net/code/Math-GSL
[Math-GSL.git] / Matrix.i
blobfc8750481a95355a8b79b9cec7ff69628ad134ec
1 %module Matrix
2 %{
3 #include "/usr/local/include/gsl/gsl_matrix.h"
4 #include "/usr/local/include/gsl/gsl_matrix_double.h"
5 #include "/usr/local/include/gsl/gsl_matrix_int.h"
6 #include "/usr/local/include/gsl/gsl_matrix_complex_double.h"
7 #include "/usr/local/include/gsl/gsl_matrix_char.h"
8 %}
10 %include "/usr/local/include/gsl/gsl_matrix.h"
11 %include "/usr/local/include/gsl/gsl_matrix_double.h"
12 %include "/usr/local/include/gsl/gsl_matrix_int.h"
13 %include "/usr/local/include/gsl/gsl_matrix_complex_double.h"
14 %include "/usr/local/include/gsl/gsl_matrix_char.h"
16 %perlcode %{
18 @EXPORT_OK = qw/
19 gsl_matrix_alloc gsl_matrix_calloc gsl_matrix_alloc_from_block
20 gsl_matrix_alloc_from_matrix gsl_vector_alloc_row_from_matrix
21 gsl_vector_alloc_col_from_matrix gsl_matrix_free gsl_matrix_submatrix
22 gsl_matrix_row gsl_matrix_column gsl_matrix_diagonal
23 gsl_matrix_subdiagonal gsl_matrix_superdiagonal gsl_matrix_subrow
24 gsl_matrix_subcolumn gsl_matrix_view_array
25 gsl_matrix_view_array_with_tda gsl_matrix_view_vector
26 gsl_matrix_view_vector_with_tda gsl_matrix_const_submatrix
27 gsl_matrix_const_row gsl_matrix_const_column gsl_matrix_const_diagonal
28 gsl_matrix_const_subdiagonal gsl_matrix_const_superdiagonal
29 gsl_matrix_const_subrow gsl_matrix_const_subcolumn
30 gsl_matrix_const_view_array gsl_matrix_const_view_array_with_tda
31 gsl_matrix_const_view_vector gsl_matrix_const_view_vector_with_tda
32 gsl_matrix_get gsl_matrix_set gsl_matrix_ptr gsl_matrix_const_ptr
33 gsl_matrix_set_zero gsl_matrix_set_identity gsl_matrix_set_all
34 gsl_matrix_fread gsl_matrix_fwrite gsl_matrix_fscanf gsl_matrix_fprintf
35 gsl_matrix_memcpy gsl_matrix_swap gsl_matrix_swap_rows
36 gsl_matrix_swap_columns gsl_matrix_swap_rowcol gsl_matrix_transpose
37 gsl_matrix_transpose_memcpy gsl_matrix_max gsl_matrix_min
38 gsl_matrix_minmax gsl_matrix_max_index gsl_matrix_min_index
39 gsl_matrix_minmax_index gsl_matrix_isnull gsl_matrix_ispos
40 gsl_matrix_isneg gsl_matrix_isnonneg gsl_matrix_add gsl_matrix_sub
41 gsl_matrix_mul_elements gsl_matrix_div_elements gsl_matrix_scale
42 gsl_matrix_add_constant gsl_matrix_add_diagonal gsl_matrix_get_row
43 gsl_matrix_get_col gsl_matrix_set_row gsl_matrix_set_col
44 gsl_matrix_char_alloc gsl_matrix_char_calloc gsl_matrix_char_alloc_from_block
45 gsl_matrix_char_alloc_from_matrix gsl_vector_char_alloc_row_from_matrix gsl_vector_char_alloc_col_from_matrix
46 gsl_matrix_char_free gsl_matrix_char_submatrix
47 gsl_matrix_char_row gsl_matrix_char_column
48 gsl_matrix_char_diagonal gsl_matrix_char_subdiagonal gsl_matrix_char_superdiagonal
49 gsl_matrix_char_subrow gsl_matrix_char_subcolumn gsl_matrix_char_view_array
50 gsl_matrix_char_view_array_with_tda gsl_matrix_char_view_vector gsl_matrix_char_view_vector_with_tda
51 gsl_matrix_char_const_submatrix gsl_matrix_char_const_row gsl_matrix_char_const_column
52 gsl_matrix_char_const_diagonal gsl_matrix_char_const_subdiagonal gsl_matrix_char_const_superdiagonal
53 gsl_matrix_char_const_subrow gsl_matrix_char_const_subcolumn gsl_matrix_char_const_view_array
54 gsl_matrix_char_const_view_array_with_tda gsl_matrix_char_const_view_vector gsl_matrix_char_const_view_vector_with_tda
55 gsl_matrix_char_get gsl_matrix_char_set gsl_matrix_char_ptr gsl_matrix_char_const_ptr
56 gsl_matrix_char_set_zero gsl_matrix_char_set_identity
57 gsl_matrix_char_set_all gsl_matrix_char_fread
58 gsl_matrix_char_fwrite gsl_matrix_char_fscanf gsl_matrix_char_fprintf
59 gsl_matrix_char_memcpy gsl_matrix_char_swap
60 gsl_matrix_char_swap_rows gsl_matrix_char_swap_columns
61 gsl_matrix_char_swap_rowcol gsl_matrix_char_transpose gsl_matrix_char_transpose_memcpy
62 gsl_matrix_char_max gsl_matrix_char_min
63 gsl_matrix_char_minmax gsl_matrix_char_max_index
64 gsl_matrix_char_min_index gsl_matrix_char_minmax_index
65 gsl_matrix_char_isnull gsl_matrix_char_ispos gsl_matrix_char_isneg
66 gsl_matrix_char_isnonneg gsl_matrix_char_add
67 gsl_matrix_char_sub gsl_matrix_char_mul_elements gsl_matrix_char_div_elements
68 gsl_matrix_char_scale gsl_matrix_char_add_constant gsl_matrix_char_add_diagonal
70 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
72 __END__
74 =head1 NAME
76 Math::GSL::Matrix
77 Mathematical functions concerning Matrices
79 =head1 SYPNOPSIS
81 use Math::GSL::Matrix qw / put_functions_here/;
83 =head1 DESCRIPTION
84 Here is a list of all the functions included in this module :
88 For more informations on the functions, we refer you to the GSL offcial documentation: http://www.gnu.org/software/gsl/manual/html_node/
89 Tip : search on google: site:http://www.gnu.org/software/gsl/manual/html_node/ name_of_the_function_you_want
91 =head1 EXAMPLES
94 =head1 AUTHOR
96 Jonathan Leto <jaleto@gmail.com> and Thierry Moisan <thierry.moisan@gmail.com>
98 =head1 COPYRIGHT AND LICENSE
100 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
102 This program is free software; you can redistribute it and/or modify it
103 under the same terms as Perl itself.
105 =cut