~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867

« back to all changes in this revision

Viewing changes to numpy/doc/swig/Series.i

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik, Riku Voipio, Tiziano Zito, Carlos Galisteo, Ondrej Certik
  • Date: 2008-07-08 15:08:16 UTC
  • mfrom: (0.1.21 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080708150816-ekf992jcp2k1eua3
Tags: 1:1.1.0-3
[ Riku Voipio ]
* debian/control: atlas is not available on armel, and after a quick look
  neither on alpha. I'd also suggest dropping
  libatlas-sse-dev|libatlas-sse2-dev|libatlas-3dnow-dev alternative combo
  away, these are potentially dangerous on buildd's. Ondrej: dropped.
  (Closes: #489568)

[ Tiziano Zito ]
* patch: build _dotblas.c when ATLAS is not installed, build-conflict with
  atlas, build-depend on blas+lapack only, as it used to be (Closes: #489726)

[ Carlos Galisteo ]
* debian/control
  - Added Homepage field.

[ Ondrej Certik ]
* Checked the package on i386 and amd64, both with and without atlas, all
  tests run and the numpy package is faster if atlas is around. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%module Series
2
 
 
3
 
%{
4
 
#define SWIG_FILE_WITH_INIT
5
 
#include "series.h"
6
 
%}
7
 
 
8
 
/* Get the Numeric typemaps */
9
 
%include "numpy.i"
10
 
 
11
 
%init %{
12
 
  import_array();
13
 
%}
14
 
 
15
 
/* Apply the Numeric typemaps for 1D input arrays */
16
 
%apply (short*  IN_ARRAY1, int DIM1) {(short*  series, int size)};
17
 
%apply (int*    IN_ARRAY1, int DIM1) {(int*    series, int size)};
18
 
%apply (long*   IN_ARRAY1, int DIM1) {(long*   series, int size)};
19
 
%apply (float*  IN_ARRAY1, int DIM1) {(float*  series, int size)};
20
 
%apply (double* IN_ARRAY1, int DIM1) {(double* series, int size)};
21
 
 
22
 
/* Apply the Numeric typemaps for 2D input arrays */
23
 
%apply (int*    IN_ARRAY2, int DIM1, int DIM2) {(int*    matrix, int rows, int cols)};
24
 
%apply (double* IN_ARRAY2, int DIM1, int DIM2) {(double* matrix, int rows, int cols)};
25
 
 
26
 
/* Apply the Numeric typemaps for 1D input/output arrays */
27
 
%apply (int*    INPLACE_ARRAY1, int DIM1) {(int*    array,   int size)};
28
 
%apply (double* INPLACE_ARRAY1, int DIM1) {(double* array,   int size)};
29
 
 
30
 
/* Include the header file to be wrapped */
31
 
%include "series.h"