GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-90d0dbac99
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
solvtd.c
Go to the documentation of this file.
1
/* solvtd.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
void
solvtd
(
double
*a,
double
*
b
,
double
*c,
double
*
x
,
int
m)
9
{
10
double
s;
11
12
int
j;
13
14
for
(j = 0; j < m; ++j) {
15
s =
b
[j] / a[j];
16
a[j + 1] -= s * c[j];
17
x
[j + 1] -= s *
x
[j];
18
}
19
for
(j = m, s = 0.; j >= 0; --j) {
20
x
[j] -= s * c[j];
21
s = (
x
[j] /= a[j]);
22
}
23
}
b
double b
Definition:
r_raster.c:39
solvtd
void solvtd(double *a, double *b, double *c, double *x, int m)
Definition:
solvtd.c:8
x
#define x
lib
external
ccmath
solvtd.c
Generated on Fri Mar 14 2025 07:34:03 for GRASS GIS 8 Programmer's Manual by
1.9.1