Skip to main content
7 votes
Accepted

Matrix multiplication not working in Scilab

-2.776D-17 equals $-2.776\cdot 10^{-17}$, which is indeed very small and for all practical purposes is zero. I think scilab is OK
Ken Grimes's user avatar
2 votes

Matrix multiplication not working in Scilab

In your example inv(P) is not equal to [-1/6,1/3;1/6,2/3]. The problem is that before 6.1 version, Scilab was sometimes ...
Stéphane Mottelet's user avatar
2 votes
Accepted

Calculating camera calibration matrix with Scilab

I found the answer. The videos I was looking at didn't mention a very important detail. The QR factorization needs to be applied to the inverse of the first three columns of P. The resulting K is also ...
Vaahterasiirappi's user avatar
2 votes

(Lack of) Availability of Finite-Difference library for simple 2D PDEs

I know this is a little bit late, but there's a third party library in Python which solve PDEs using FD, it is called findiff. Check it out.
Heitor Nunes Rosa's user avatar
2 votes

(Lack of) Availability of Finite-Difference library for simple 2D PDEs

It seems hard to write a general enough FD library thas has wide applicability, since FD methods are not as easy to write for general domains, unlike FEM which uses unstructured grids, for which there ...
cfdlab's user avatar
  • 3,028
1 vote

Jacobi iterative method

Probably you accumulated rotations wrong. At each step, you have a working matrix $D$ that starts from $D=A$ and should converge to a diagonal matrix, and a matrix $Q$ that accumulates all rotations ...
Federico Poloni's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible