Re: books for learning D

2020-01-13 Thread René Heldmaier via Digitalmars-d-learn
On Monday, 13 January 2020 at 10:28:48 UTC, mark wrote: I'm just starting out learning D. Andrei Alexandrescu's "The D Programming Language" is 10 years old, so is it still worth getting? (I don't know how much D has changed in 10 years.) I found the book amazing. It not only explains the

Re: Win32 Api: How create Open/"Save as" Dialog?

2020-01-10 Thread René Heldmaier via Digitalmars-d-learn
On Friday, 10 January 2020 at 14:48:49 UTC, Marcone wrote: How create "Open" and "Save as" Dialog using "Win32 Api" and Dlang? Please send me a simple example code in Dlang. Thank you very much. Have a look at this website: http://www.winprog.org/tutorial/app_two.html It helped me a lot

Re: matrix operations

2019-11-27 Thread René Heldmaier via Digitalmars-d-learn
On Wednesday, 27 November 2019 at 16:35:40 UTC, bachmeier wrote: I do have all that for my own use. I've never bothered to turn it into something others could use because I love the garbage collector, but that's a turnoff for others. But I'm more than happy to share if you're really

matrix operations

2019-11-27 Thread René Heldmaier via Digitalmars-d-learn
Hi, I'm looking for some basic matrix/vector operations and other numeric stuff. I spent quite a lot time in reading through the mir documentation, but i kinda miss the bigger picture. I'm not a Python user btw. (I know C,C++,C#,Matlab..). I have also looked at the documentation of the

Re: Phobos License question

2019-11-16 Thread René Heldmaier via Digitalmars-d-learn
On Saturday, 16 November 2019 at 10:02:58 UTC, Ola Fosheim Grøstad wrote: As a matter of courtesy I would have added a notice on the top of the file that says that function x, y, z was lifted from such and such library with a "see comments for details" notice. I will add this comment at the

Re: Phobos License question

2019-11-16 Thread René Heldmaier via Digitalmars-d-learn
On Saturday, 16 November 2019 at 10:02:58 UTC, Ola Fosheim Grøstad wrote: On Saturday, 16 November 2019 at 09:21:41 UTC, René Heldmaier wrote: Thanks a lot for the lengthy reply ;). I live in Germany by the way... statement "Copyright 2019, My Name" is incomplete though. It would be better

Phobos License question

2019-11-16 Thread René Heldmaier via Digitalmars-d-learn
Hi, I'm currently implementing a data type which is quite similar to complex numbers. Because of the similarity, I could copy paste (with minor modifications) the toString methods and the helper functions from std.complex. The much bigger rest of it is my own work. I would like to publish

Re: Understand signature of opOpAssign in std/complex.d

2019-11-09 Thread René Heldmaier via Digitalmars-d-learn
On Saturday, 9 November 2019 at 13:26:12 UTC, Adam D. Ruppe wrote: That's checking the if the template argument C is a case of Complex!R, while at the same time declaring a symbol R to hold the inner type. I got it. Thank you very much ;)

Understand signature of opOpAssign in std/complex.d

2019-11-09 Thread René Heldmaier via Digitalmars-d-learn
Hi, i'm currently implementing a dual number datatype. Dual numbers are very similar to complex numbers, but instead i (i^2 = -1) you have epsilon (epsilon^2 = 0). This sounds strange but it is really useful for something called "automatic derivation". I will probably explain it in more detail