GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
Loading...
Searching...
No Matches
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 */
8void 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}
double b
void mcopy(double *a, double *b, int m)
Definition mcopy.c:8