GL(n, R)-Equivalence of a Pair of Curves in Terms of Invariants