No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
9572ec8
... +1 ...
bdd7c1b
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
127 | 127 | .C("Tawn2", as.double(w), as.integer(length(w)), |
|
128 | 128 | as.double(copula@parameters[1]), as.double(copula@parameters[2]), |
|
129 | 129 | as.double(1), as.double(rep(0, length(w))), |
|
130 | - | PACKAGE = "VineCopula" |
|
130 | + | PACKAGE = "VC2copula" |
|
131 | 131 | )[[6]] |
|
132 | 132 | }) |
|
133 | 133 |
139 | 139 | surA <- .C("Tawn2", as.double(log(v) / log(u * v)), as.integer(length(w)), |
|
140 | 140 | as.double(copula@parameters[1]), as.double(copula@parameters[2]), |
|
141 | 141 | as.double(1), as.double(rep(0, length(w))), |
|
142 | - | PACKAGE = "VineCopula" |
|
142 | + | PACKAGE = "VC2copula" |
|
143 | 143 | )[[6]] |
|
144 | 144 | -log(1 - u + 1 - v - 1 + (u * v)^surA) |
|
145 | 145 | }) |
1 | + | #define R_NO_REMAP |
|
2 | + | #include <R_ext/Rdynload.h> |
|
3 | + | #include <R.h> |
|
4 | + | #include <Rinternals.h> |
|
5 | + | ||
6 | + | #include <VineCopula/evCopula.h> |
|
7 | + | ||
8 | + | ||
9 | + | extern void Tawn2(double* t, int* n, double* par, double* par2, double* par3, double* out) { |
|
10 | + | static SEXP(*fun)(double*, int*, double*, double*, double*, double*) = NULL; |
|
11 | + | if (fun == NULL) |
|
12 | + | fun = (SEXP(*)(double*, int*, double*, double*, double*, double*)) R_GetCCallable("VineCopula", "Tawn2"); |
|
13 | + | fun(t, n, par, par2, par3, out); |
|
14 | + | } |
|
15 | + | ||
16 | + | static const R_CMethodDef CEntries[] = { |
|
17 | + | {"Tawn2", (DL_FUNC) &Tawn2, 6}, |
|
18 | + | {NULL, NULL, 0} |
|
19 | + | }; |
|
20 | + | ||
21 | + | void R_init_VC2copula(DllInfo *dll) |
|
22 | + | { |
|
23 | + | R_registerRoutines(dll, CEntries, NULL, NULL, NULL); |
|
24 | + | R_useDynamicSymbols(dll, FALSE); |
|
25 | + | } |
Learn more Showing 1 files with coverage changes found.
src/Tawn2.c
Files | Coverage |
---|---|
R | 94.51% |
src/Tawn2.c | 100.00% |
Project Totals (12 files) | 94.59% |
bdd7c1b
65d23d1
9572ec8