8 boost::typeindex::type_index type_index,
15 boost::typeindex::type_index type_index,
23 boost::shared_ptr<BaseFunctionCtx> ctx_ptr) {
27 ctx->
baseFunPtr->resize(pts.size2(), ctx->P + 1,
false);
28 ctx->baseDiffFunPtr->resize(pts.size2(), ctx->dIm * (ctx->P + 1),
false);
30 double *diff_l = NULL;
31 for (
unsigned int gg = 0; gg < pts.size2(); gg++) {
33 l = &((*ctx->baseFunPtr)(gg, 0));
34 if (ctx->baseDiffFunPtr)
35 diff_l = &((*ctx->baseDiffFunPtr)(gg, 0));
36 ierr = (ctx->basePolynomialsType0)(ctx->P, pts(0, gg), ctx->diffS,
l,