コード例 #1
0
ファイル: x-gb.cpp プロジェクト: ChristineJost/M2
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;
}
コード例 #2
0
ファイル: comp-gb-proxy.hpp プロジェクト: AlessandroOneto/M2
 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);
 }