Re: Reorganization and list of D libraries (300+)

2017-12-31 Thread Vino via Digitalmars-d-announce
On Saturday, 4 November 2017 at 00:12:19 UTC, Fra Mecca wrote: Hi all. Lurking in this forum I had the feeling that lots of D developers tend to rewrite lots of code that could be found in libraries. This is not bad per se but I thought that one of the reason could have been the current

Mir simple linear

2020-03-30 Thread Vino via Digitalmars-d-announce
Hi All, Can anyone guide me what is the problem with below code as it throws error. import std.stdio, mir.math.common: approxEqual; static immutable x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; static immutable y = [1, 3, 2, 5, 7, 8, 8, 9, 10, 12]; auto params = x.simpleLinearRegression(y);