https://github.com/Singular/Sources
Raw File
Tip revision: 35c6e2c47bae1f858ec6f4a0cdab911b80a1c383 authored by Hans Schoenemann on 22 January 2021, 14:55:14 UTC
fix: map Z, Zn ->Zp, mpz_z ->Zp
Tip revision: 35c6e2c
.gdbinit
break dErrorBreak

#break omReportError # use in case of problems with omaloc
#break dPolyReportError # use in case of problems with polynomial arithmetic



### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define

# print poly ring
define pp
  if $argc > 0
    print $arg0
    if $arg0 != 0
      print *$arg0

      if $argc == 2
        call p_Write($arg0, $arg1)
      else
        call p_Write($arg0, currRing)
      end
    end
  end
end



# print number coeffs
define nn
  if $argc > 0
    print $arg0
    if $arg0 != 0
      print *$arg0

      if $argc == 2
        call n_Print($arg0, $arg1)
      else
        call n_Print($arg0, currRing->cf)
      end
    end
  end
end

back to top