function A = jacobi_eigen(A, eps)
    [ max_ertek, p, q ] = jacobi_rotate(A);
    while (max_ertek > eps)
        A = jacobi_B(A, p, q);
        [ max_ertek, p, q ] = jacobi_rotate(A);
    end
end