GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73679
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mcopy.c
Go to the documentation of this file.
1 /* mcopy.c CCMATH mathematics library source code.
2  *
3  * Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
4  * This code may be redistributed under the terms of the GNU library
5  * public license (LGPL). ( See the lgpl.license file for details.)
6  * ------------------------------------------------------------------------
7  */
8 void mcopy(double *a, double *b, int m)
9 {
10  double *p, *q;
11 
12  int k;
13 
14  for (p = a, q = b, k = 0; k < m; ++k)
15  *p++ = *q++;
16 }
void mcopy(double *a, double *b, int m)
Definition: mcopy.c:8
double b
Definition: r_raster.c:39