def METHOD_NAME(
    g_data: np.ndarray,
    g_indices: np.ndarray,
    g_indptr: np.ndarray,
    x: np.ndarray,
) -> float:
    W = g_data.sum()
    return _morans_i_vec_W(g_data, g_indices, g_indptr, x, W)