_assert(fo.ndim == 1, 'f  must be a vector.')