Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ sign
Method
sign
Singular/svd/libs/ap.cpp:126–131 ·
view source on GitHub ↗
standard functions
Source
from the content-addressed store, hash-verified
124
// standard functions
125
//
126
int ap::sign(double x)
127
{
128
if( x>0 ) return 1;
129
if( x<0 ) return -1;
130
return 0;
131
}
132
133
double ap::randomreal()
134
{
Callers
11
checkForNonPositiveEntries
Function · 0.45
checkForNonPositiveLaterEntries
Function · 0.45
tropicalTraversalMinimizingFlips
Function · 0.45
nonvalued_adjustWeightForHomogeneity
Function · 0.45
nonvalued_adjustWeightUnderHomogeneity
Function · 0.45
valued_adjustWeightUnderHomogeneity
Function · 0.45
interiorPointsAndNormalsOfFacets
Function · 0.45
tropicalPoint
Method · 0.45
groebnerNeighbours
Method · 0.45
tropicalNeighbours
Method · 0.45
computeFlip
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected