This should be documented in doxygen (including the math in latex)