const Matrix /* or null */ * rawGBGetLeadTerms(Computation *C, int nparts) { try { clear_emit_size(); GBComputation *G = C->cast_to_GBComputation(); if (G != 0) return G->get_initial(nparts); ERROR("computation type unknown or not implemented"); return 0; } catch (exc::engine_error e) { ERROR(e.what()); return NULL; } }
virtual const Matrix /* or null */ *get_initial(int nparts) { return G->get_initial(nparts); }