fVector M
The fvector of a matroid M is the invariant (f_0, f_1, ..., f_r), where f_i is the number of rank i flats of M, and r is the rank of M. Note that f_0 = f_r = 1, as the set of loops is the unique flat of rank 0, and the ground set is the unique flat of maximal rank.



This is not the same as the fvector of the independence complex of the matroid M, which counts the number of independent sets of a given size. To do this instead, use "fVector independenceComplex M".