Let $\mathfrak{gl}_n(x)= \mathfrak{gl}_n \otimes_\mathbb{C}\mathbb{C}(x)$ be the algebra of matrices taking values in rational functions.
Definition: Two matrices $A, B \in \mathfrak{gl}_n(x)$ are said to be gauge equivalent iff there exists an invertible matrix $P \in {GL}_n(\mathbb{C}(x))$ satisfying: $$B=PAP^{-1}+P'P^{-1}$$
The above is easily seen to be an equivalence relation on the matrices in $\mathfrak{gl}_n(x)$.
The classical Jordan decomposition for complex scalar matrices gives a canonical (modulo transposition of blocks) representative for every equivalence class of matrices for the equivalence relation of similarity. My question is basically "is there a similar thing for this case and if there is what is it?".
Question: Can one define a "canonical form" for matrices in $\mathfrak{gl}_n(x)$ modulo gauge equivalence? That is a sensible and computable assignment of a canonical representative matrix for every gauge equivalence class in $\mathfrak{gl}_n(x)$
If the above is some kind of extremely difficult untractable super-problem I'd appreciate an answer which explains why is this the case and additionally:
If the above is hopless can this be done at least for $\mathfrak{gl}_n \otimes_\mathbb{C}\mathbb{C}((x))$? With $P$ above lying in $GL_n(\mathbb{C}((x)))$ of course.