importIncidenceMatrix(s)
After running makeMembershipFile Bertini produces an incidence_matrix file. The incidence_matrix says which points belong to which components. Our incidence matrix is flattened to a list. The number of elements in theIM is equal to the number of points in the solutions file. Each element of theIM is a list of sequences of 2 elements (codim,component Number). Note that we follow the Bertini convention and switch from (dimension,component number) indexing to (codimension,component number) indexing.
If the NameIncidenceMatrixFile option is set when we want to import files with a different name.
|
|
|
|
|
The object importIncidenceMatrix is a method function with options.