|
From: Jarmo H. <hie...@ut...> - 2014-12-22 18:29:46
|
> I observe that I can generate a diagnostic as follows > > 1: deg (sin x/cos y, x); > > sin(x) > ***** -------- invalid as polynomial > cos(y) > > so you can track through and see the (symbolic mode) code for the function > typerr that arranges to be able to embed an algebraic expression within a > message that gets sent back to the user. When I deal with very large expressions I do not want error report to be of type **** ((hundreds of lines of expression )) is not a polynomial, I would rather prefer a more laconic form, such as **** expression given to factorize is not a polynomial Can one control the output of error reporting by a switch? Jarmo Hietarinta |