On Sunday, 14 June 2015 at 12:01:47 UTC, Ola Fosheim Grøstad wrote:
On Sunday, 14 June 2015 at 11:43:46 UTC, Ilya Yaroshenko wrote:
I am really don't understand what you mean with "generic" keyword.

Do you want one matrix type that includes all cases???
I hope you does not.

Yes, that is what generic programming is about. The type should signify the semantics, not exact representation.

Then you alias common types "float4x4" etc.

std.range has a lot of types + D arrays.
The power in unified API (structural type system).

For matrixes this API is very simple: operations like m1[] += m2, transposed, etc.

Ilya

Reply via email to