Matrix API support - start with formats?

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 15 11:19:54 PDT 2015


On 14/08/15 17:57, Andrei Alexandrescu wrote:
> I stumbled upon https://software.intel.com/en-us/node/471374 which gives
> good detail on Intel's Math Kernel Library's data formats for sparse
> matrices.
>
> No doubt other popular linear algebra libraries have similar
> documentation. I was thinking we could start with adding these layouts
> to std, along with a few simple primitives (construction, element/slice
> access, stride etc). Then, people may just use those as they are or link
> with the linalg libraries for specific computations.
>
>
> Thoughts?

Please please please make them templated on the type, with clear 
instructions what the type needs to support in order to work.

I've recently tried to find an implementation of matrix inversion over a 
Z2 field, and found that that NONE of the standard implementations 
supports that.

Shachar


More information about the Digitalmars-d mailing list