hh^i computes the rank of the $i$th cohomology group. If no further argument is given then it returns the rank of the complete cohomology group. For this it computes the set of all degrees that can give nonzero cohomology (see deltaE). This set is finite if the underlying toric variety is complete. If the toric variety is not complete, then an error is returned.
If in addition a one column matrix $u$ over ZZ is given it returns the rank of the degree $u$ part of the cohomology group. For this the variety need not be complete.



