The analogy is a bit stretched, but I think it's due to both being described by systems of equations, in a sense.