INNER CODE UNIT · C
clen
mlr-org/mlr · todo-files/fda_multires_features.c:82
clen = curve_lens[j]; // get length of current curve
/* Rprintf("curve start, len: %i, %i\n", sstart, clen); */
// now calc all features for current curve and write them to resmat
c_get_curve_features(x, nrow_x, ncol_x, x_read_row, sstart, clen, // get current curve segment from x (sstart, clen)
resmat, nrow_resmat, ncol_resmat, x_read_row, rstart, &rcounter, // write to same row in resmat (at rstart), get write length
reslev, shift);
/* Rprintf("rcounter = %i\n", rcounter); */
sstart += clen; // shift read start point by length of last curve
rstart += rcounter; // shift write start point by length of last written result
}
}
}