factorize.h documentation