[GRASS-SVN] r38981 - grass/branches/develbranch_6/include

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 5 06:17:12 EDT 2009


Author: martinl
Date: 2009-09-05 06:17:12 -0400 (Sat, 05 Sep 2009)
New Revision: 38981

Modified:
   grass/branches/develbranch_6/include/gisdefs.h
   grass/branches/develbranch_6/include/gmath.h
Log:
some functions moved to gmathlib


Modified: grass/branches/develbranch_6/include/gisdefs.h
===================================================================
--- grass/branches/develbranch_6/include/gisdefs.h	2009-09-05 08:31:32 UTC (rev 38980)
+++ grass/branches/develbranch_6/include/gisdefs.h	2009-09-05 10:17:12 UTC (rev 38981)
@@ -406,17 +406,6 @@
 /* date.c */
 char *G_date(void);
 
-/* dalloc.c */
-double *G_alloc_vector(size_t);
-double **G_alloc_matrix(int, int);
-float  *G_alloc_fvector(size_t);
-float  **G_alloc_fmatrix(int, int);
-void G_free_vector(double *);
-void G_free_matrix(double **);
-void G_free_fvector(float *);
-void G_free_fmatrix(float **);
-
-
 /* datum.c */
 int G_get_datum_by_name(const char *);
 char *G_datum_name(int);
@@ -669,12 +658,6 @@
 char *G_home(void);
 char *G__home(void);
 
-/* ialloc.c */
-int *G_alloc_ivector(size_t);
-int **G_alloc_imatrix(int, int);
-void G_free_ivector(int *);
-void G_free_imatrix(int **);
-
 /* index.c */
 char *G_index(const char *, int);
 char *G_rindex(const char *, int);

Modified: grass/branches/develbranch_6/include/gmath.h
===================================================================
--- grass/branches/develbranch_6/include/gmath.h	2009-09-05 08:31:32 UTC (rev 38980)
+++ grass/branches/develbranch_6/include/gmath.h	2009-09-05 10:17:12 UTC (rev 38981)
@@ -33,28 +33,52 @@
 #define G_MATH_NORMAL_LES 0
 #define G_MATH_SPARSE_LES 1
 
+/* dalloc.c */
+double *G_alloc_vector(size_t);
+double **G_alloc_matrix(int, int);
+float  *G_alloc_fvector(size_t);
+float  **G_alloc_fmatrix(int, int);
+void G_free_vector(double *);
+void G_free_matrix(double **);
+void G_free_fvector(float *);
+void G_free_fmatrix(float **);
 
+/* ialloc.c */
+int *G_alloc_ivector(size_t);
+int **G_alloc_imatrix(int, int);
+void G_free_ivector(int *);
+void G_free_imatrix(int **);
+
 /* fft.c */
 extern int fft(int, double *[2], int, int, int);
 extern int fft2(int, double (*)[2], int, int, int);
+
 /* gauss.c */
 extern double G_math_rand_gauss(int, double);
+
 /* max_pow2.c */
 extern long G_math_max_pow2 (long n);
 extern long G_math_min_pow2 (long n);
+
 /* rand1.c */
 extern float G_math_rand(int);
+
 /* del2g.c */
 extern int del2g(double *[2], int, double);
+
 /* getg.c */
 extern int getg(double, double *[2], int);
+
 /* eigen_tools.c */
 extern int G_math_egvorder(double *, double **, long);
+
 /* mult.c */
 extern int G_math_complex_mult (double *v1[2], int size1, double *v2[2], int size2, double *v3[2], int size3);
+
 /* lu.c*/
 extern int G_ludcmp(double **, int, int *, double *);
 extern void G_lubksb(double **a, int n, int *indx, double b[]);
+
 /* findzc.c */
 extern int G_math_findzc(double conv[], int size, double zc[], double thresh, int num_orients);
 



More information about the grass-commit mailing list