Loïc Pottier

Results 9 comments of Loïc Pottier

I tested using a 3x3 symetric matrix: ``` mut a := la.Matrix.deep2([ [4.0, 1.0, 1.0], [1.0, 3.0, 0.0], [1.0, 0.0, 2.0] ]) ``` Jacobi seems to fail on the first...

I will submit a PR to fix this

I have a problem with the `solve_cubic` function, I don't understand why it has only 3 parameters, a cubic polynomial should be written as $ax^3+bx^2+cx+d$, with a, b, c and...

Sorry for the `noise` in the 2 previous commit messages, I confused my 2 PR...

> I have a problem with the `solve_cubic` function, I don't understand why it has only 3 parameters, a cubic polynomial should be written as a x 3 + b...

@suleyman-kaya I noticed an issue in the divide function It might be my mistake,but the result of the following code: ```v poly_dividend := [2.0, -4.0, -4.0, 1.0] // 2 -...

No problem, I'll take a look when I have some time. You couldn't catch it with test_poly because the test is done with a symmetric polynomial: ```v a := [1.0,...

@ulises-jeremias could you take a look please ? Also, a `v fmt -w .` would change A LOT of files.. I did it on the files I modified, but there...

I also renamed the `grad_Xd` functions to avoid conflicts since Simplex and Perlin use different versions of these.