Re: [math] Struggling with least squares

2018-12-28 Thread David Tinker
The same. Example: cp 300.0 W' 12000.0 cp 333.74051281161115 W' -12839.244450996564 cp 298.7156407940922 W' 7487.731100602964 cp 298.9550329672171 W' 11242.142876024549 cp 299.7463658640514 W' 11824.469512284873 cp 299.9341647360811 W' 11954.82219199176 ... cp 299.9974568135 W'

Re: [math] Struggling with least squares

2018-12-28 Thread David Tinker
I figured it out. The issue was with my derivative calculation. I was using (a - b) / DELTA * 2. Changing this to (b - a) / DELTA * 2 fixes this problem. a = morton3pTime(cp - DELTA, wPrime, pmax, p); b = morton3pTime(cp + DELTA, wPrime, pmax, p); jacobian.setEntry(i, 0, (b - a) / (DELTA * 2));

Re: [math] Struggling with least squares

2018-12-28 Thread Gilles
Hello. On Thu, 27 Dec 2018 07:32:30 -0600 (CST), David Tinker wrote: Hi Guys. I am struggling to use the least squares optimizer to fit a 2 variable non-linear function to a curve of observed data points. I am pretty sure I am doing something stupid because I don't know the maths. My

[daemon] Problem when using Procrun with Java 11

2018-12-28 Thread GASPARD-EXT Joel
Hello, I try to start a Windows service (on Windows 8.1) with Procrun 1.1.0 and Java 11. I've installed the jdk 11 built by AdoptOpenJDK When I install the service with the option -StartMode jvm, Procrun seems not to find Java. I read in the logs : [info] [55436] Starting service... [error]