Numerical computation of Lyapunov exponents in discontinuous maps implicitly defined