Make generic functions for OA's in double format.