================= Possible Solution [TOC] ================= Make sure to verify that results (except for the memory layout) do not depend on the storage order. Simple initialization and print functions for matrices ====================================================== :import: session09/matvec_01.c Test for row major ------------------ ---- SHELL(path=session09) ----------------------------------------------------- gcc -Wall -std=c11 -DCOLMAJOR=0 -o matvec_01 matvec_01.c ./matvec_01 -------------------------------------------------------------------------------- Test for col major ------------------ ---- SHELL(path=session09) ----------------------------------------------------- gcc -Wall -std=c11 -DCOLMAJOR=1 -o matvec_01 matvec_01.c ./matvec_01 --------------------------------------------------------------------------------