Calculate number of eigenvalues in interval [−2,3> of matrix A using Sylvesters law of inertia and LDLT decomposition.