matrix rows and columns representation