home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / GNUPLOTsrc.lha / matrix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-22  |  1.2 KB  |  52 lines

  1. /* $Id: matrix.h,v 1.2 1994/03/17 00:54:09 alex Exp $ */
  2.  
  3. /*
  4.  *    Header file: public functions in matrix.c
  5.  *
  6.  *
  7.  *    Copyright of this module:   Carsten Grammes, 1993
  8.  *      Experimental Physics, University of Saarbruecken, Germany
  9.  *
  10.  *    Internet address: cagr@rz.uni-sb.de
  11.  *
  12.  *    Permission to use, copy, and distribute this software and its
  13.  *    documentation for any purpose with or without fee is hereby granted,
  14.  *    provided that the above copyright notice appear in all copies and
  15.  *    that both that copyright notice and this permission notice appear
  16.  *    in supporting documentation.
  17.  *
  18.  *      This software is provided "as is" without express or implied warranty.
  19.  */
  20.  
  21.  
  22. #ifndef MATRIX_H
  23. #define MATRIX_H
  24.  
  25. #ifndef ANSI_CHECK
  26. #include "ansichek.h"
  27. #endif
  28.  
  29. #ifdef EXT
  30. #undef EXT
  31. #endif
  32.  
  33. #ifdef MATRIX_MAIN
  34. #define EXT
  35. #else
  36. #define EXT extern
  37. #endif
  38.  
  39.  
  40. /******* public functions ******/
  41.  
  42. EXT double  *vec __P((int n));
  43. EXT int     *ivec __P((int n));
  44. EXT double  **matr __P((int r, int c));
  45. EXT void    free_matr __P((double **m, int r));
  46. EXT void    redim_vec __P((double **v, int n));
  47. EXT void    redim_ivec __P((int **v, int n));
  48. EXT void    solve __P((double **a, int n, double **b, int m));
  49. EXT void    inverse __P((double **src, double **dst, int n));
  50.  
  51. #endif
  52.