GRASS 8 Programmer's Manual
8.6.0dev(2026)-56a9afeb9f
Loading...
Searching...
No Matches
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
AMI_STREAM
Definition
ami_stream.h:153
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 Apr 4 2026 17:44:23 for GRASS 8 Programmer's Manual by
1.9.8