Changeset 8baa37 in git for Singular/LIB/polybori.lib


Ignore:
Timestamp:
Jan 24, 2014, 1:39:15 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ee5e11e63c911034966a67782a24e7326c52abb1
Parents:
5c8e18ff3dc32f83461ed21cad1151a77366ed567661e1502f806195a6458595ba7e711664a932bb
Message:
Merge pull request #456 from surface-smoothers/improve.documentation.genus

improved genus documentation for 1-dim affine variety input
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/polybori.lib

    r7661e1 r8baa37  
    256256// converts a Singular ring into a Boolean ring
    257257
    258 proc ring2bring(r)
     258proc ring2bring(def r)
    259259{
    260260  bring rb;
     
    315315
    316316// look up whether we cached this conversion before
    317 static proc bring_from_cache(r)
     317static proc bring_from_cache(def r)
    318318{
    319319  bring_mark_cache();
     
    324324
    325325// insert computed result into cache
    326 static proc bring_to_cache(r, pyobject newring)
     326static proc bring_to_cache(def r, pyobject newring)
    327327{
    328328  def value = WeakRingRef(newring);
     
    333333// converts a Singular ring into a python ring
    334334
    335 proc boolean_poly_ring(r)
     335proc boolean_poly_ring(def r)
    336336{
    337337  def cached = bring_from_cache(r);
     
    396396// checks the equality of two bpolys
    397397
    398 proc bpoly_check(bpoly pb1, pb2)
     398proc bpoly_check(bpoly pb1,bpoly pb2)
    399399{
    400400  return(pb1.boolpoly==pb2.boolpoly);
     
    404404// computes the multiplication of two bpolys
    405405
    406 proc bpoly_mult(bpoly pb1, pb2)
     406proc bpoly_mult(bpoly pb1,bpoly pb2)
    407407{
    408408  bpoly bpol;
Note: See TracChangeset for help on using the changeset viewer.