[Gambas-user] Improve a Fast routine

2014-11-27 Thread Martin Cristia
I ment improve it interpreter-wise not math wise. Inline functions is something easy to implement. Thx Ing Martín P Cristiá -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Sup

Re: [Gambas-user] Improve a Fast routine

2014-11-27 Thread Benoît Minisini
Le 28/11/2014 01:02, martin p cristia a écrit : > Hi, is there any way to speed up this routine? > Thanks > > Fast Public Function solucionarXgauss(x As Float[], ti As Float[], > iOrden As Integer) As Integer > ' OK GAMBAS > > Dim c1 As Float > Dim i As Integer, j As Integer, a As

Re: [Gambas-user] Improve a Fast routine

2014-11-27 Thread Jussi Lahtinen
What are you trying to do exactly? Have you looked up ready well known algorithm for it? By quick look that seems to be O(n^3), which makes me think it can done faster. Jussi On Fri, Nov 28, 2014 at 2:02 AM, martin p cristia wrote: > Hi, is there any way to speed up this routine? > Thanks > >

[Gambas-user] Improve a Fast routine

2014-11-27 Thread martin p cristia
Hi, is there any way to speed up this routine? Thanks Fast Public Function solucionarXgauss(x As Float[], ti As Float[], iOrden As Integer) As Integer ' OK GAMBAS Dim c1 As Float Dim i As Integer, j As Integer, a As Integer, b As Integer, ok As Integer Dim l As Integer, h As