Esempio n. 1
0
M2_bool IM2_GB_matrix_lift(Computation *C,
                        const Matrix *m,
                        const Matrix /* or null */ **result_remainder,
                        const Matrix /* or null */ **result_quotient
                        )
{
     try {
          clear_emit_size();
          GBComputation *G = C->cast_to_GBComputation();
          if (G != 0)
            return G->matrix_lift(m, result_remainder, result_quotient);
          else ERROR("computation type unknown or not implemented");
     }
     catch (exc::engine_error e) {
          ERROR(e.what());
     }
     return false;
}
Esempio n. 2
0
 virtual M2_bool matrix_lift(const Matrix *m,
                          const Matrix /* or null */ **result_remainder,
                          const Matrix /* or null */ **result_quotient) {
   return G->matrix_lift(m,result_remainder,result_quotient);
 }