search for: termino2

Displaying 1 result from an estimated 1 matches for "termino2".

Did you mean: termino
2017 Mar 20
1
Fwd: Possible memory problems with mallloc when called with .C()
...} int cmp(const void *a, const void *b) { return (*(double*)a - *(double*)b); } double superior(double x, double i, double m){ double op1 = r_abs(x-(i)/(m)); double op2 = r_abs(x-(i-1)/(m)); return max(op1,op2); } double termino1, termino2, f, g, t, h1, h2, l=1.0, m=n-k; unsigned long int i, j, filas; double **matrixA, **matrixB; matrixA = (double **) malloc((k+1)*sizeof(double *)); matrixB = (double **) malloc((k+1)*sizeof(double *)); for (i=0; i <= k; i++) { matrixA[i] = (double *) malloc...