Jens Gustedt's Blog

September 8, 2014

Don’t use fake matrices

Filed under: Uncategorized — Jens Gustedt @ 13:46

In two ancient posts I have talked about arrays in modern C, “don’t be afraid of variably modified types” and  “VLA as function arguments”. Still there seem to be a lot of people that, perhaps just by bad habit, that prefer to use “fake matrices” instead of real matrices in C. Unfortunately among these people are a lot of university teachers that preach that bad parole to their students. I just try to make a list of the advantages of real matrices, here.

(more…)

Create a free website or blog at WordPress.com.