Skip to content

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

@lungsi

Description

@lungsi

Python 2.7 with pip install csa

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

  • for two sets of same sizes
    screenshot from 2018-11-28 14-25-36

  • for two sets of different sizes
    screenshot from 2018-11-28 14-25-54

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions