Displaying 1 result from an estimated 1 matches for "sortedfsampl".
Did you mean:
sortedfsample
2017 Mar 20
1
Fwd: Possible memory problems with mallloc when called with .C()
...s the following (sorry it is a bit long):
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#ifdef NAN
/* NAN is supported */
#endif
#ifdef INFINITY
/* INFINITY is supported */
#endif
void dnk_c(double *sortedFsample, unsigned long int n, unsigned
long int k, double *dKol){
double min(double a, double b) {
return (a < b) ? a : b;
}
double max(double a, double b) {
return (a > b) ? a : b;
}
double r_abs(double a){
return (a < 0) ? -a : a;
}...