GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
kuiprsve.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <math.h>
3
#include <
grass/cdhc.h
>
4
#include "local_proto.h"
5
6
7
double
*
Cdhc_kuipers_v_exp
(
double
*
x
,
int
n)
8
{
9
static
double
y[2];
10
double
*d,
r
;
11
12
d =
Cdhc_dmax_exp
(x, n);
13
r = sqrt((
double
)n);
14
15
y[1] = d[0] + d[1];
16
y[0] = (y[1] - 0.2 / n) * (r + 0.35 / r + 0.24);
17
18
#ifdef NOISY
19
fprintf(stdout,
" TEST18 KV(E) =%10.4f\n"
, y[0]);
20
#endif
/* NOISY */
21
22
return
y;
23
}
cdhc.h
Cdhc_kuipers_v_exp
double * Cdhc_kuipers_v_exp(double *x, int n)
Definition:
kuiprsve.c:7
x
#define x
Cdhc_dmax_exp
double * Cdhc_dmax_exp(double *, int)
Definition:
dmaxe.c:7
r
double r
Definition:
r_raster.c:39
lib
cdhc
kuiprsve.c
Generated on Mon May 31 2021 05:21:30 for GRASS GIS 7 Programmer's Manual by
1.8.13