doc: updated functions for combinatorial functions