MCPcopy Create free account
hub / github.com/Singular/Singular / spectrumPrintError

Function spectrumPrintError

Singular/ipshell.cc:4097–4126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4095// ----------------------------------------------------------------------------
4096
4097void spectrumPrintError(spectrumState state)
4098{
4099 switch( state )
4100 {
4101 case spectrumZero:
4102 WerrorS( "polynomial is zero" );
4103 break;
4104 case spectrumBadPoly:
4105 WerrorS( "polynomial has constant term" );
4106 break;
4107 case spectrumNoSingularity:
4108 WerrorS( "not a singularity" );
4109 break;
4110 case spectrumNotIsolated:
4111 WerrorS( "the singularity is not isolated" );
4112 break;
4113 case spectrumNoHC:
4114 WerrorS( "highest corner cannot be computed" );
4115 break;
4116 case spectrumDegenerate:
4117 WerrorS( "principal part is degenerate" );
4118 break;
4119 case spectrumOK:
4120 break;
4121
4122 default:
4123 WerrorS( "unknown error occurred" );
4124 break;
4125 }
4126}
4127
4128BOOLEAN spectrumProc( leftv result,leftv first )
4129{

Callers 2

spectrumProcFunction · 0.85
spectrumfProcFunction · 0.85

Calls 1

WerrorSFunction · 0.85

Tested by

no test coverage detected