INCF / csa

The Python implementation of the Connection-Set Algebra
GNU General Public License v3.0
13 stars 17 forks source link

Function cross() for Cartesian product returns connections inside the default (infinite) mask #13

Open lungsi opened 5 years ago

lungsi commented 5 years ago

Python 2.7 with pip install csa

The cartesian product of two sets is taken using cross as shown below:

Notice that show() does not just return the mask of desired size with all-to-all connections. Rather it returns all-to-all connections of desired size in the infinite (default) mask.

PS: This issue is persistent also for python 3.7