On Sunday, 14 June 2015 at 09:19:19 UTC, Ilya Yaroshenko wrote:
The reason is general purpose matrixes allocated at heap, but small graphic matrices are plain structs.
No, the reason is that LA-libraries are C-libraries that also deal with variable sized matrices.
A good generic API can support both. You cannot create a good generic API in C. You can in D.