flamingpy.utils.linalg.lc_constraint_system¶
- flamingpy.utils.linalg.lc_constraint_system(G, H)[source]¶
Build the constraint for LC-equivalence of two adjacency matrices.
Construct a binary system of equations that two adjacency matrices G and H must satisfy for equivalence through local complementations.
- Parameters
G (numpy.array) – n x n adjacency matrices.
H (numpy.array) – n x n adjacency matrices.
- Returns
- an array of shape n^2 x 4n representing a system of n^2
binary linear equations with 4n unknowns.
- Return type
numpy.array
source/api/flamingpy.utils.linalg.lc_constraint_system
Download Python script
Download Notebook
View on GitHub