Changes between Version 33 and Version 42 of Ticket #18411


Ignore:
Timestamp:
09/17/15 12:24:12 (4 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18411

    • Property Commit changed from 34a392fcf66d3ebc2679403970009af5d0d4e3a5 to 22f8b77a3cc2223863396f8d422fbbeec51d1656
  • Ticket #18411 – Description

    v33 v42  
    22
    33In order to support all features of the old class we also:
    4  - move the `__iter__` from `EnumeratedSets.CartesianProducts.ParentMethods` category to `Sets`
     4 - move the `__iter__` from `EnumeratedSets.CartesianProducts.ParentMethods` to `Sets.CartesianProducts.ParentMethods`
    55 - allows `cartesian_product` to be called with `list`, `tuple`, `set`, `frozenset`
    66 - make `cartesian_product([])` works
    7  - introduce a function `bounded_number_of_tuples` in `sage.misc.misc` that is intensively used in the testing framework
     7 - introduce a function `some_tuples` in `sage.misc.misc` that is intensively used in the testing framework (and incidentally speed up some doc test)
    88 - refine the category of `Set([1,2,3])` to be finite
    99 - implement a (very naive) `random_element` for `Set([1,2,3])`