(Y, F) = setOnesForest X
Since row and column scaling operations preserve the projective equivalence class of a slack matrix, it is sometimes advantageous to choose a certain equivalence class representative by setting some variables in a slack matrix to 1. This reduces the computational time of calculating the slack ideal, for example.
This function automates the selection of a spanning forest in the bipartite graph corresponding to S and sets the associated variables to 1.
|
|
|
The object setOnesForest is a method function.