+ /*
+ Now that we know the number of coefficients, allocate space
+ and store pointers to the variables that correspond to the
+ coefficients.
+ */
+ lcache->coeff = xnmalloc (X->m->size2 + 1, sizeof (*lcache->coeff));
+ for (i = 0; i < X->m->size2; i++)
+ {
+ j = i + 1; /* The first coeff is the intercept. */
+ lcache->coeff[j].v =
+ (const struct variable *) design_matrix_col_to_var (X, i);
+ }