up previous next
FVector

compute the f-vector of a top simplices list

Syntax
FVector(A: LIST): RECORD

Description
This function computes the f-Vector of a simplicial complex described by a list of top faces.

Package GeomModelling, by Elisa Palezzato.

Example
/**/ Use QQ[x[1..5]], DegLex;
/**/ L := [x[1]*x[2]*x[3], x[2]*x[3]*x[4], x[3]*x[4]*x[5]]; -- list top faces
/**/ FVector(L);
[1, 5, 7, 3]

See Also