Improving dot product for standard multidimensional D arrays

2020-03-01 Thread p.shkadzko via Digitalmars-d-learn
Hello again, Thanks to previous thread on multidimensional arrays, I managed to play around with pure D matrix representations and even benchmark a little against numpy: +-++---+ |

Re: How to sum multidimensional arrays?

2020-03-01 Thread AB via Digitalmars-d-learn
On Saturday, 29 February 2020 at 19:04:12 UTC, p.shkadzko wrote: On Friday, 28 February 2020 at 16:51:10 UTC, AB wrote: On Thursday, 27 February 2020 at 14:15:26 UTC, p.shkadzko wrote: [...] Your Example with a minimal 2D array. module test2; import std.random : Xorshift,

windows IKnownFolder on D

2020-03-01 Thread Виталий Фадеев via Digitalmars-d-learn
Searching for example using the Win32 IKnownFolder on D Goal is: get all folders with program shortcuts. Like a: "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs", "C:\\UsersAppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs", I dream on code example... or

Re: Call method if declared only

2020-03-01 Thread Alexandru Ermicioi via Digitalmars-d-learn
On Friday, 28 February 2020 at 06:12:37 UTC, Виталий Фадеев wrote: How to implement ? I would go for a template mixin that implements send operation in each subclass. Sine template mixin's content is declared in scope of declaration not template's module, the code inside it is aware of