Lines Matching refs:derivs
489 compute_pderivs(const spiro_seg *s, double ends[2][4], double derivs[4][2][4],
506 derivs[j][k][i] = recip_d * (try_ends[k][j] - ends[k][j]);
660 double derivs[4], double x, double y, int j, int jj, int jinc,
675 m[jj].a[joff + k] += y * derivs[k];
711 double derivs[4][2][4];
715 compute_pderivs(&s[i], ends, derivs, jinc);
755 add_mat_line(m, v, derivs[0][0], th - ends[0][0], 1, j, jthl, jinc, nmat);
756 add_mat_line(m, v, derivs[1][0], ends[0][1], -1, j, jk0l, jinc, nmat);
757 add_mat_line(m, v, derivs[2][0], ends[0][2], -1, j, jk1l, jinc, nmat);
758 add_mat_line(m, v, derivs[3][0], ends[0][3], -1, j, jk2l, jinc, nmat);
759 add_mat_line(m, v, derivs[0][1], -ends[1][0], 1, j, jthr, jinc, nmat);
760 add_mat_line(m, v, derivs[1][1], -ends[1][1], 1, j, jk0r, jinc, nmat);
761 add_mat_line(m, v, derivs[2][1], -ends[1][2], 1, j, jk1r, jinc, nmat);
762 add_mat_line(m, v, derivs[3][1], -ends[1][3], 1, j, jk2r, jinc, nmat);