# fromFVector -- If possible, returns a simplicial poset with the given f-vector.

## Synopsis

• Usage:
P = fromFVector(L)
• Inputs:
• L, a list, The desired F-vector.
• Outputs:
• P, an instance of the type Poset, A simplicial poset with f-vector L.

## Description

This method is provided as a way to construct an example of a simplicial poset with a given f-vector.

It implements a construction due to Richard Stanley.

For details about this construction and a description of what f-vectors can be constructed, see Stanley's original paper.

 i1 : P = fromFVector({1,6,5,1}); i2 : isSimplicial(P) o2 = true i3 : getFVector(P) o3 = {1, 6, 5, 1} o3 : List

## Ways to use fromFVector :

• "fromFVector(List)"

## For the programmer

The object fromFVector is .