コード例 #1
0
ファイル: x-gb.cpp プロジェクト: ChristineJost/M2
const Matrix /* or null */ *
rawGBMatrixRemainder(Computation *C,
                     const Matrix *m)
{
     try {
          clear_emit_size();
          GBComputation *G = C->cast_to_GBComputation();
          if (G != 0)
            return G->matrix_remainder(m);
          ERROR("computation type unknown or not implemented");
          return 0;
     }
     catch (exc::engine_error e) {
          ERROR(e.what());
          return NULL;
     }
}
コード例 #2
0
ファイル: comp-gb-proxy.hpp プロジェクト: AlessandroOneto/M2
 virtual const Matrix /* or null */ *matrix_remainder(const Matrix *m) {
   return G->matrix_remainder(m);
 }