Sooo... I'm trying to learn this stuff so that I can fully grasp
the content of Jens Mueller's 2019 DConf talk and its
applications in financial sector (forex and options/futures
trading). Unfortunately, I'm doing so using python but I'd like
to accomplish the same in D. Here goes:
Array (Vec
On Sunday, 19 May 2019 at 06:34:18 UTC, Andrew Edwards wrote:
Sooo... I'm trying to learn this stuff so that I can fully
grasp the content of Jens Mueller's 2019 DConf talk and its
applications in financial sector (forex and options/futures
trading). Unfortunately, I'm doing so using python but
On Sunday, 19 May 2019 at 10:07:35 UTC, Alex wrote:
On Sunday, 19 May 2019 at 06:34:18 UTC, Andrew Edwards wrote:
So the question is, how do I pull this off in D using just
builtin arrays and phobos?
Any assistance is appreciated.
Slice operations exist, but they are defined mainly for ar
On Sunday, 19 May 2019 at 16:17:17 UTC, Andrew Edwards wrote:
ยดยดยด
import std;
void main()
{
int[][] M = [[1,2,3],[1,2,3],[1,2,3]];
M.recursiveMultiplier(4);
writeln(M);
}
void recursiveMultiplier(T, V)(T arr, V val) @nogc
{
static if(isArray!(ElementType!T))
arr.each!(el
On 5/19/19 2:34 AM, Andrew Edwards wrote:
P.S. Why do we still have two sets of documentations ([1],[2]) for the
language? Which is the official one and when can we get rid of the other?
[1] https://dlang.org/library/std/array.html
[2] https://dlang.org/phobos/std_array.html
I have wondered t
On Sunday, 19 May 2019 at 17:13:11 UTC, Alex wrote:
The operation itself is, however, a simple one. To implement a
basic version I would cite
http://rosettacode.org/wiki/Matrix_multiplication#D
This is awesome. Thank you very much.
Andrew