Macaulay2 » Documentation
Packages » SimplicialPosets :: testFVector
next | previous | forward | backward | up | index | toc

testFVector -- Tests if it is possible for a simplicial poset to have a given f-vector.

Description

See Stanley's paper for more details about what f-vectors a simplicial poset can have.

This is useful for validating the arguments of a function that takes an f-vector.

i1 : testFVector({1,4,6,4,1})

o1 = true

Ways to use testFVector:

  • testFVector(List)

For the programmer

The object testFVector is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/SimplicialPosets.m2:383:0.