_assert(xo.ndim == 1, 'x must be a vector.')