This method stores a matroid in string format in an output file, including much of the auxiliary data used in computations in this package (such as circuits, flats, representations, etc.)
The name of the output file can be specified. If no output file is specified, then a random filename is chosen (using temporaryFileName - note that in this case, such files are automatically deleted when the M2 session ends, so make sure to copy the temporary file before exiting M2).
The saved matroid can be read back into a later M2 session using the function readFromFile, which is a synonym for the composite of value and get. This takes a filename (as a String) and returns the value of its contents, as interpreted by M2.
|
|
|
|
|
|
The object saveMatroid is a method function.