Changeset 8baa37 in git for Singular/LIB/polybori.lib
- Timestamp:
- Jan 24, 2014, 1:39:15 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ee5e11e63c911034966a67782a24e7326c52abb1
- Parents:
- 5c8e18ff3dc32f83461ed21cad1151a77366ed567661e1502f806195a6458595ba7e711664a932bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/polybori.lib
r7661e1 r8baa37 256 256 // converts a Singular ring into a Boolean ring 257 257 258 proc ring2bring( r)258 proc ring2bring(def r) 259 259 { 260 260 bring rb; … … 315 315 316 316 // look up whether we cached this conversion before 317 static proc bring_from_cache( r)317 static proc bring_from_cache(def r) 318 318 { 319 319 bring_mark_cache(); … … 324 324 325 325 // insert computed result into cache 326 static proc bring_to_cache( r, pyobject newring)326 static proc bring_to_cache(def r, pyobject newring) 327 327 { 328 328 def value = WeakRingRef(newring); … … 333 333 // converts a Singular ring into a python ring 334 334 335 proc boolean_poly_ring( r)335 proc boolean_poly_ring(def r) 336 336 { 337 337 def cached = bring_from_cache(r); … … 396 396 // checks the equality of two bpolys 397 397 398 proc bpoly_check(bpoly pb1, pb2)398 proc bpoly_check(bpoly pb1,bpoly pb2) 399 399 { 400 400 return(pb1.boolpoly==pb2.boolpoly); … … 404 404 // computes the multiplication of two bpolys 405 405 406 proc bpoly_mult(bpoly pb1, pb2)406 proc bpoly_mult(bpoly pb1,bpoly pb2) 407 407 { 408 408 bpoly bpol;
Note: See TracChangeset
for help on using the changeset viewer.