general interface to ax_plus_y_n that aliases daxpy and zaxpy for certain cases