MCPcopy Create free account
hub / github.com/KDE/labplot / nsl_diff_sixth_deriv

Function nsl_diff_sixth_deriv

src/backend/nsl/nsl_diff.c:426–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426int nsl_diff_sixth_deriv(const double* x, double* y, const size_t n, int order) {
427 switch (order) {
428 case 1:
429 return nsl_diff_sixth_deriv_first_order(x, y, n);
430 /*TODO: higher order */
431 default:
432 printf("nsl_diff_sixth_deriv() unsupported order %d\n", order);
433 return -1;
434 }
435}
436
437int nsl_diff_sixth_deriv_first_order(const double* x, double* y, const size_t n) {
438 if (n < 7)

Callers 2

recalculateSpecificMethod · 0.85
testSixth_order1Method · 0.85

Calls 1

Tested by 1

testSixth_order1Method · 0.68