HAMA-765: change the method name of DoubleFunction and
DoubleDoubleFunction