Adding functions for char functions in Matrix subsystem.
[Math-GSL.git] / Matrix.i
blob1c808aa38cfbaa7f8ebbf034d2ed6ca9ef2d1771
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_complex_long_double.h"
8 #include "/usr/local/include/gsl/gsl_matrix_complex_float.h"
9 #include "/usr/local/include/gsl/gsl_matrix_char.h"
12 %include "/usr/local/include/gsl/gsl_matrix.h"
13 %include "/usr/local/include/gsl/gsl_matrix_double.h"
14 %include "/usr/local/include/gsl/gsl_matrix_int.h"
15 %include "/usr/local/include/gsl/gsl_matrix_complex_double.h"
16 %include "/usr/local/include/gsl/gsl_matrix_complex_long_double.h"
17 %include "/usr/local/include/gsl/gsl_matrix_complex_float.h"
18 %include "/usr/local/include/gsl/gsl_matrix_char.h"
20 %perlcode %{
22 @EXPORT_OK = qw/
23 gsl_matrix_alloc gsl_matrix_calloc gsl_matrix_alloc_from_block
24 gsl_matrix_alloc_from_matrix gsl_vector_alloc_row_from_matrix
25 gsl_vector_alloc_col_from_matrix gsl_matrix_free gsl_matrix_submatrix
26 gsl_matrix_row gsl_matrix_column gsl_matrix_diagonal
27 gsl_matrix_subdiagonal gsl_matrix_superdiagonal gsl_matrix_subrow
28 gsl_matrix_subcolumn gsl_matrix_view_array
29 gsl_matrix_view_array_with_tda gsl_matrix_view_vector
30 gsl_matrix_view_vector_with_tda gsl_matrix_const_submatrix
31 gsl_matrix_const_row gsl_matrix_const_column gsl_matrix_const_diagonal
32 gsl_matrix_const_subdiagonal gsl_matrix_const_superdiagonal
33 gsl_matrix_const_subrow gsl_matrix_const_subcolumn
34 gsl_matrix_const_view_array gsl_matrix_const_view_array_with_tda
35 gsl_matrix_const_view_vector gsl_matrix_const_view_vector_with_tda
36 gsl_matrix_get gsl_matrix_set gsl_matrix_ptr gsl_matrix_const_ptr
37 gsl_matrix_set_zero gsl_matrix_set_identity gsl_matrix_set_all
38 gsl_matrix_fread gsl_matrix_fwrite gsl_matrix_fscanf gsl_matrix_fprintf
39 gsl_matrix_memcpy gsl_matrix_swap gsl_matrix_swap_rows
40 gsl_matrix_swap_columns gsl_matrix_swap_rowcol gsl_matrix_transpose
41 gsl_matrix_transpose_memcpy gsl_matrix_max gsl_matrix_min
42 gsl_matrix_minmax gsl_matrix_max_index gsl_matrix_min_index
43 gsl_matrix_minmax_index gsl_matrix_isnull gsl_matrix_ispos
44 gsl_matrix_isneg gsl_matrix_isnonneg gsl_matrix_add gsl_matrix_sub
45 gsl_matrix_mul_elements gsl_matrix_div_elements gsl_matrix_scale
46 gsl_matrix_add_constant gsl_matrix_add_diagonal gsl_matrix_get_row
47 gsl_matrix_get_col gsl_matrix_set_row gsl_matrix_set_col
48 gsl_matrix_complex_long_double_alloc gsl_matrix_complex_long_double_calloc gsl_matrix_complex_long_double_alloc_from_block
49 gsl_matrix_complex_long_double_alloc_from_matrix gsl_vector_complex_long_double_alloc_row_from_matrix
50 gsl_vector_complex_long_double_alloc_col_from_matrix gsl_matrix_complex_long_double_free
51 gsl_matrix_complex_long_double_submatrix gsl_matrix_complex_long_double_row gsl_matrix_complex_long_double_column
52 gsl_matrix_complex_long_double_diagonal gsl_matrix_complex_long_double_subdiagonal gsl_matrix_complex_long_double_superdiagonal
53 gsl_matrix_complex_long_double_subrow gsl_matrix_complex_long_double_subcolumn gsl_matrix_complex_long_double_view_array
54 gsl_matrix_complex_long_double_view_array_with_tda gsl_matrix_complex_long_double_view_vector gsl_matrix_complex_long_double_view_vector_with_tda
55 gsl_matrix_complex_long_double_const_submatrix gsl_matrix_complex_long_double_const_row gsl_matrix_complex_long_double_const_column
56 gsl_matrix_complex_long_double_const_diagonal gsl_matrix_complex_long_double_const_subdiagonal gsl_matrix_complex_long_double_const_superdiagonal
57 gsl_matrix_complex_long_double_const_subrow gsl_matrix_complex_long_double_const_subcolumn gsl_matrix_complex_long_double_const_view_array
58 gsl_matrix_complex_long_double_const_view_array_with_tda gsl_matrix_complex_long_double_const_view_vector
59 gsl_matrix_complex_long_double_const_view_vector_with_tda
60 gsl_matrix_complex_long_double_set gsl_matrix_complex_long_double_set_zero gsl_matrix_complex_long_double_set_identity
61 gsl_matrix_complex_long_double_set_all gsl_matrix_complex_long_double_fread gsl_matrix_complex_long_double_fwrite
62 gsl_matrix_complex_long_double_fscanf gsl_matrix_complex_long_double_fprintf gsl_matrix_complex_long_double_memcpy
63 gsl_matrix_complex_long_double_swap gsl_matrix_complex_long_double_swap_rows gsl_matrix_complex_long_double_swap_columns
64 gsl_matrix_complex_long_double_swap_rowcol gsl_matrix_complex_long_double_transpose gsl_matrix_complex_long_double_transpose_memcpy
65 gsl_matrix_complex_long_double_isnull gsl_matrix_complex_long_double_ispos gsl_matrix_complex_long_double_isneg
66 gsl_matrix_complex_long_double_add gsl_matrix_complex_long_double_sub gsl_matrix_complex_long_double_mul_elements
67 gsl_matrix_complex_long_double_div_elements gsl_matrix_complex_long_double_scale gsl_matrix_complex_long_double_add_constant
68 gsl_matrix_complex_long_double_add_diagonal
69 gsl_matrix_complex_float_alloc
70 gsl_matrix_complex_float_calloc
71 gsl_matrix_complex_float_alloc_from_block
72 gsl_matrix_complex_float_alloc_from_matrix gsl_vector_complex_float
73 gsl_vector_complex_float_alloc_row_from_matrix
74 gsl_vector_complex_float_alloc_col_from_matrix
75 gsl_matrix_complex_float_free gsl_matrix_complex_float_submatrix gsl_matrix_complex_float_row
76 gsl_matrix_complex_float_column gsl_matrix_complex_float_diagonal gsl_matrix_complex_float_subdiagonal
77 gsl_matrix_complex_float_superdiagonal gsl_matrix_complex_float_subrow gsl_matrix_complex_float_subcolumn
78 gsl_matrix_complex_float_view_array gsl_matrix_complex_float_view_array_with_tda gsl_matrix_complex_float_view_vector
79 gsl_matrix_complex_float_view_vector_with_tda gsl_matrix_complex_float_const_submatrix gsl_matrix_complex_float_const_row
80 gsl_matrix_complex_float_const_column gsl_matrix_complex_float_const_diagonal gsl_matrix_complex_float_const_subdiagonal
81 gsl_matrix_complex_float_const_superdiagonal gsl_matrix_complex_float_const_subrow gsl_matrix_complex_float_const_subcolumn
82 gsl_matrix_complex_float_const_view_array gsl_matrix_complex_float_const_view_array_with_tda gsl_matrix_complex_float_const_view_vector
83 gsl_matrix_complex_float_const_view_vector_with_tda gsl_complex_float gsl_matrix_complex_float_set gsl_complex_float gsl_complex_float
84 gsl_matrix_complex_float_set_zero gsl_matrix_complex_float_set_identity gsl_matrix_complex_float_set_all
85 gsl_matrix_complex_float_fread gsl_matrix_complex_float_fwrite
86 gsl_matrix_complex_float_fscanf gsl_matrix_complex_float_fprintf
87 gsl_matrix_complex_float_memcpy gsl_matrix_complex_float_swap
88 gsl_matrix_complex_float_swap_rows gsl_matrix_complex_float_swap_columns gsl_matrix_complex_float_swap_rowcol
89 gsl_matrix_complex_float_transpose gsl_matrix_complex_float_transpose_memcpy
90 gsl_matrix_complex_float_isnull gsl_matrix_complex_float_ispos
91 gsl_matrix_complex_float_isneg gsl_matrix_complex_float_add
92 gsl_matrix_complex_float_sub gsl_matrix_complex_float_mul_elements gsl_matrix_complex_float_div_elements
93 gsl_matrix_complex_float_scale gsl_matrix_complex_float_add_constant gsl_matrix_complex_float_add_diagonal
94 gsl_matrix_char_alloc gsl_matrix_char_calloc gsl_matrix_char_alloc_from_block
95 gsl_matrix_char_alloc_from_matrix gsl_vector_char_alloc_row_from_matrix gsl_vector_char_alloc_col_from_matrix
96 gsl_matrix_char_free gsl_matrix_char_submatrix
97 gsl_matrix_char_row gsl_matrix_char_column
98 gsl_matrix_char_diagonal gsl_matrix_char_subdiagonal gsl_matrix_char_superdiagonal
99 gsl_matrix_char_subrow gsl_matrix_char_subcolumn gsl_matrix_char_view_array
100 gsl_matrix_char_view_array_with_tda gsl_matrix_char_view_vector gsl_matrix_char_view_vector_with_tda
101 gsl_matrix_char_const_submatrix gsl_matrix_char_const_row gsl_matrix_char_const_column
102 gsl_matrix_char_const_diagonal gsl_matrix_char_const_subdiagonal gsl_matrix_char_const_superdiagonal
103 gsl_matrix_char_const_subrow gsl_matrix_char_const_subcolumn gsl_matrix_char_const_view_array
104 gsl_matrix_char_const_view_array_with_tda gsl_matrix_char_const_view_vector gsl_matrix_char_const_view_vector_with_tda
105 gsl_matrix_char_get gsl_matrix_char_set gsl_matrix_char_ptr gsl_matrix_char_const_ptr
106 gsl_matrix_char_set_zero gsl_matrix_char_set_identity
107 gsl_matrix_char_set_all gsl_matrix_char_fread
108 gsl_matrix_char_fwrite gsl_matrix_char_fscanf gsl_matrix_char_fprintf
109 gsl_matrix_char_memcpy gsl_matrix_char_swap
110 gsl_matrix_char_swap_rows gsl_matrix_char_swap_columns
111 gsl_matrix_char_swap_rowcol gsl_matrix_char_transpose gsl_matrix_char_transpose_memcpy
112 gsl_matrix_char_max gsl_matrix_char_min
113 gsl_matrix_char_minmax gsl_matrix_char_max_index
114 gsl_matrix_char_min_index gsl_matrix_char_minmax_index
115 gsl_matrix_char_isnull gsl_matrix_char_ispos gsl_matrix_char_isneg
116 gsl_matrix_char_isnonneg gsl_matrix_char_add
117 gsl_matrix_char_sub gsl_matrix_char_mul_elements gsl_matrix_char_div_elements
118 gsl_matrix_char_scale gsl_matrix_char_add_constant gsl_matrix_char_add_diagonal
120 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
122 __END__
124 =head1 NAME
126 Math::GSL::Matrix
127 Mathematical functions concerning Matrices
129 =head1 SYPNOPSIS
131 use Math::GSL::Matrix qw / put_functions_here/;
133 =head1 DESCRIPTION
134 Here is a list of all the functions included in this module :
138 For more informations on the functions, we refer you to the GSL offcial documentation: http://www.gnu.org/software/gsl/manual/html_node/
139 Tip : search on google: site:http://www.gnu.org/software/gsl/manual/html_node/ name_of_the_function_you_want
141 =head1 EXAMPLES
144 =head1 AUTHOR
146 Jonathan Leto <jaleto@gmail.com> and Thierry Moisan <thierry.moisan@gmail.com>
148 =head1 COPYRIGHT AND LICENSE
150 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
152 This program is free software; you can redistribute it and/or modify it
153 under the same terms as Perl itself.
155 =cut