Changeset 9292 in project
Legend:
 Unmodified
 Added
 Removed

wiki/iset
r9286 r9292 41 41 <procedure>(makebitvector size #t)</procedure> 42 42 43 Same as above but initialize the all bit elements to #t(= the integer43 Same as above but initialize the all bit elements to {{#t}} (= the integer 44 44 2^SIZE1) 45 45 … … 57 57 <procedure>(bitvector? obj)</procedure> 58 58 59 #tiff OBJ is a valid bitvector, which is not necessarily a disjoint59 {{#t}} iff OBJ is a valid bitvector, which is not necessarily a disjoint 60 60 type 61 61 62 62 <procedure>(bitvectorempty? bv)</procedure> 63 63 64 #tiff BV has no bits set (the bitvector equivalent of the ZERO?64 {{#t}} iff BV has no bits set (the bitvector equivalent of the ZERO? 65 65 procedure) 66 66 67 67 <procedure>(bitvectorfull? bv to)</procedure> 68 68 69 #tiff BV has all bits lower than TO set (the low end is 2^i1)69 {{#t}} iff BV has all bits lower than TO set (the low end is 2^i1) 70 70 71 71 The individual bits in the vector are accessed and set as boolean … … 76 76 <procedure>(bitvectorref bv i)</procedure> 77 77 78 #t if the Ith bit in BV is set, else #f 78 {{#t}} if the Ith bit in BV is set, else {{#f}} 79 79 80 80 <procedure>(bitvectorset bv i x)</procedure> 81 81 82 82 Return a new copy of BV with the Ith bit set to boolean x (off iff X 83 is #f)83 is {{#f}}) 84 84 85 85 <procedure>(bitvectorset! bv i x)</procedure> … … 202 202 <procedure>(isetevery pred is)</procedure> 203 203 204 Returns #tif every element of IS satisfies the predicate PRED (order204 Returns {{#t}} if every element of IS satisfies the predicate PRED (order 205 205 unspecified) 206 206 207 207 <procedure>(iset? obj)</procedure> 208 208 209 #tiff obj is an integer set.209 {{#t}} iff obj is an integer set. 210 210 211 211 <procedure>(iset= is ...)</procedure> 212 212 213 #tiff all arguments are equivalent integer sets.213 {{#t}} iff all arguments are equivalent integer sets. 214 214 215 215 <procedure>(iset<= is ...)</procedure> 216 216 217 #tiff the arguments are monotonically increasing sets.217 {{#t}} iff the arguments are monotonically increasing sets. 218 218 219 219 <procedure>(iset>= is ...)</procedure> 220 220 221 #tiff the arguments are monotonically decreasing sets.221 {{#t}} iff the arguments are monotonically decreasing sets. 222 222 223 223 <procedure>(isetfold kons knil is)</procedure>
Note: See TracChangeset
for help on using the changeset viewer.