We don't need to make this class specific for that purpose as you see from the class name. What this class do is just assembling a vector and matrix together, and doesn't need to know what the vector and matrix mean.