GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
cmattr.c
Go to the documentation of this file.
1 /* cmattr.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 #include "ccmath.h"
9 void cmattr(Cpx * a, Cpx * b, int m, int n)
10 {
11  Cpx *p;
12 
13  int i, j;
14 
15  for (i = 0; i < n; ++i, ++b)
16  for (j = 0, p = b; j < m; ++j, p += n)
17  *a++ = *p;
18 }
void cmattr(Cpx *a, Cpx *b, int m, int n)
Definition: cmattr.c:9
double b
Definition: r_raster.c:39
Definition: la.h:54