GRASS 8 Programmer's Manual
8.6.0dev(2026)-ddeab64dbf
Loading...
Searching...
No Matches
cmprt.c
Go to the documentation of this file.
1
/* cmprt.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
cmprt
(
Cpx
*a,
int
m
,
int
n,
char
*f)
12
{
13
int
i,
j
;
14
15
Cpx
*p;
16
17
for
(i = 0, p = a; i <
m
; ++i) {
18
for
(
j
= 0;
j
< n; ++
j
, ++p)
19
printf
(f, p->
re
, p->
im
);
20
printf
(
"\n"
);
21
}
22
}
ccmath.h
AMI_STREAM
Definition
ami_stream.h:153
cmprt
void cmprt(Cpx *a, int m, int n, char *f)
Definition
cmprt.c:11
complex
Definition
ccmath.h:38
complex::re
double re
Definition
ccmath.h:39
complex::im
double im
Definition
ccmath.h:39
lib
external
ccmath
cmprt.c
Generated on Sun Apr 5 2026 06:59:55 for GRASS 8 Programmer's Manual by
1.9.8