GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
*
kuipers_v_exp
(
double
*x,
int
n
)
8
{
9
static
double
y
[2];
10
double
*d,
r
;
11
12
d =
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
}
r
float r
Definition:
named_colr.c:8
y
int y
Definition:
plot.c:34
local_proto.h
kuipers_v_exp
double * kuipers_v_exp(double *x, int n)
Definition:
kuiprsve.c:7
dmax_exp
double * dmax_exp(double *x, int n)
Definition:
dmaxe.c:7
n
int n
Definition:
dataquad.c:291
lib
cdhc
kuiprsve.c
Generated on Sat Jan 2 2016 01:46:48 for GRASS Programmer's Manual by
1.8.5