searchRepresentation(M, k)
This function performs a bruteforce search for a representation of a matroid, over a given finite field (essentially repeatedly testing random candidates until one is found).
The maximum number of attempts is specified by the optional argument Attempts (default 1000).
Over GF(2), this function is guaranteed to (quickly) find a representation, if one exists. (Over larger finite fields, there is no such guarantee.)


The object searchRepresentation is a method function with options.