File: Matrix.i

package info (click to toggle)
libmath-gsl-perl 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 132,604 kB
  • sloc: ansic: 1,014,223; perl: 22,600; makefile: 12
file content (36 lines) | stat: -rw-r--r-- 920 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Red Pill or Blue Pill ?
%module "Math::GSL::Matrix"

%include "typemaps.i"
%include "gsl_typemaps.i"
%include "renames.i"

%apply int *OUTPUT { size_t *imin, size_t *imax, size_t *jmin, size_t *jmax };
%apply double *OUTPUT { double * min_out, double * max_out };

%{
    #include "gsl/gsl_inline.h"
    #include "gsl/gsl_matrix.h"
    #include "gsl/gsl_complex.h"
    #include "gsl/gsl_vector_double.h"
    #include "gsl/gsl_matrix_double.h"
    #include "gsl/gsl_matrix_int.h"
    #include "gsl/gsl_matrix_complex_double.h"
    #include "gsl/gsl_matrix_char.h"

    #include "../c/Matrix.c"
%}

%include "gsl/gsl_inline.h"
%include "gsl/gsl_matrix.h"
%include "gsl/gsl_complex.h"
%include "gsl/gsl_vector_double.h"
%include "gsl/gsl_matrix_double.h"
%include "gsl/gsl_matrix_int.h"
%include "gsl/gsl_matrix_complex_double.h"
%include "gsl/gsl_matrix_char.h"

%include "../c/Matrix.h"


%include "../pod/Matrix.pod"