matrix row column representation