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

« back to all changes in this revision

Viewing changes to numpy/doc/swig/series.h

  • 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
 
#ifndef SERIES_H
2
 
#define SERIES_H
3
 
 
4
 
/*** One Dimensional Arrays ***/
5
 
 
6
 
/* Examples of functions that take 1D C arrays as input */
7
 
short shortSum( short* series, int size);
8
 
short shortProd(short* series, int size);
9
 
 
10
 
int intSum( int* series, int size);
11
 
int intProd(int* series, int size);
12
 
 
13
 
long longSum( long* series, int size);
14
 
long longProd(long* series, int size);
15
 
 
16
 
float floatSum( float* series, int size);
17
 
float floatProd(float* series, int size);
18
 
 
19
 
double doubleSum( double* series, int size);
20
 
double doubleProd(double* series, int size);
21
 
 
22
 
/* Examples of functions that manipulate 1D C arrays as in-place */
23
 
void intZeros( int* array, int size);
24
 
void intOnes(  int* array, int size);
25
 
void intNegate(int* array, int size);
26
 
 
27
 
void doubleZeros( double* array, int size);
28
 
void doubleOnes(  double* array, int size);
29
 
void doubleNegate(double* array, int size);
30
 
 
31
 
/*** Two Dimensional Arrays ***/
32
 
 
33
 
/* Examples of functions that take 2D arrays as input */
34
 
int intMax(int* matrix, int rows, int cols);
35
 
void intFloor(int* matrix, int rows, int cols, int floor);
36
 
 
37
 
double doubleMax(double* matrix, int rows, int cols);
38
 
void doubleFloor(double* matrix, int rows, int cols, double floor);
39
 
 
40
 
#endif