Designing a matrix library for D
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 24 09:05:36 PDT 2014
On 6/23/14, 8:46 PM, Tofu Ninja wrote:
> On Tuesday, 24 June 2014 at 03:29:52 UTC, H. S. Teoh via Digitalmars-d
> wrote:
>
>> a compile-time DSL instead of hack tricks like expression
>
> That sounds like a it will be very odd to use and most likely have very
> little benefit. I think most people would agree that matrix math is a
> good use case for operator overloading.
Just a thought - a nice thing would be to have a shell backed up by
multiple engines (LAPACK, BLAS, SIMD-based, naive etc), similarly to
what LINQ does with virtualizing data access. Then possessors of various
linear algebra libraries would be able to link with them and use them.
Andrei
More information about the Digitalmars-d
mailing list