~ubuntu-branches/ubuntu/oneiric/python-scipy/oneiric-proposed

« back to all changes in this revision

Viewing changes to Lib/sandbox/pysparse/examples/poisson_test/pcg.h

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik
  • Date: 2008-06-16 22:58:01 UTC
  • mfrom: (2.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080616225801-irdhrpcwiocfbcmt
Tags: 0.6.0-12
* The description updated to match the current SciPy (Closes: #489149).
* Standards-Version bumped to 3.8.0 (no action needed)
* Build-Depends: netcdf-dev changed to libnetcdf-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef PCG_H
2
 
#define PCG_H
3
 
 
4
 
void pcg(int n, 
5
 
         double *x, 
6
 
         double *b,
7
 
         double tol, 
8
 
         int maxit,
9
 
         int clvl,
10
 
         int *iter, 
11
 
         double *relres, 
12
 
         int *flag,
13
 
         double *work,
14
 
         void (*matvec)(double *, double *),
15
 
         void (*precon)(double *, double *));
16
 
 
17
 
void F77(pcg_f77)(int *n, 
18
 
                  double *x, 
19
 
                  double *b,
20
 
                  double *tol, 
21
 
                  int *maxit,
22
 
                  int *clvl,
23
 
                  int *iter, 
24
 
                  double *relres, 
25
 
                  int *flag,
26
 
                  double *work,
27
 
                  void (*matvec)(double *, double *),
28
 
                  void (*precon)(double *, double *));
29
 
 
30
 
#endif