GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-b4e4cb0fe9
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
9
#include "
ccmath.h
"
10
11
void
cmattr
(
Cpx
*a,
Cpx
*
b
,
int
m,
int
n)
12
{
13
Cpx
*p;
14
15
int
i, j;
16
17
for
(i = 0; i < n; ++i, ++
b
)
18
for
(j = 0, p =
b
; j < m; ++j, p += n)
19
*a++ = *p;
20
}
ccmath.h
cmattr
void cmattr(Cpx *a, Cpx *b, int m, int n)
Definition:
cmattr.c:11
b
double b
Definition:
r_raster.c:39
complex
Definition:
ccmath.h:38
lib
external
ccmath
cmattr.c
Generated on Sat Nov 23 2024 07:04:17 for GRASS GIS 8 Programmer's Manual by
1.9.1