GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-eb16a2cfc9
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
hconj.c
Go to the documentation of this file.
1
/* hconj.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
hconj
(
Cpx
*a,
int
n)
12
{
13
Cpx
s, *p, *q;
14
15
int
i, j, e;
16
17
for
(i = 0, e = n - 1; i < n; ++i, --e, a += n + 1) {
18
for
(j = 0, p = a + 1, q = a + n; j < e; ++j) {
19
s = *p;
20
s.
im
= -s.
im
;
21
p->
re
= q->
re
;
22
(p++)->im = -q->
im
;
23
*q = s;
24
q += n;
25
}
26
a->
im
= -a->
im
;
27
}
28
}
ccmath.h
hconj
void hconj(Cpx *a, int n)
Definition:
hconj.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
hconj.c
Generated on Wed May 28 2025 07:03:34 for GRASS GIS 8 Programmer's Manual by
1.9.1