Miscellaneous functions commonly used by YuLab-SMU
