GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
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
#include "
ccmath.h
"
9
void
cmprt
(
Cpx
* a,
int
m,
int
n,
char
*f)
10
{
11
int
i, j;
12
13
Cpx
*p;
14
15
for
(i = 0, p = a; i < m; ++i) {
16
for
(j = 0; j < n; ++j, ++p)
17
printf(f, p->
re
, p->
im
);
18
printf(
"\n"
);
19
}
20
}
cmprt
void cmprt(Cpx *a, int m, int n, char *f)
Definition:
cmprt.c:9
ccmath.h
complex::re
double re
Definition:
ccmath.h:38
complex::im
double im
Definition:
ccmath.h:38
complex
Definition:
la.h:54
lib
external
ccmath
cmprt.c
Generated on Mon May 31 2021 05:21:28 for GRASS GIS 7 Programmer's Manual by
1.8.13