Top "Linear-algebra" questions

Linear Algebra is a core body of mathematics studying vector spaces and linear mappings between these spaces.

How to try-except an illegal matrix operation due to singularity in NumPy

In NumPy, I'm trying to use linalg to compute matrix inverses at each step of a Newton-Raphson scheme (the problem …

python numpy linear-algebra
Shear Matrix as a combination of basic transformation?

I know the transformation matrices for rotation, scaling, translation etc. I also know the matrix for shear transformation. Now, I …

matrix graphics linear-algebra transformation rotational-matrices
scipy.linalg.eig return complex eigenvalues for covariance matrix?

The eigenvalues of a covariance matrix should be real and non-negative because covariance matrices are symmetric and semi positive definite. …

python matlab numpy scipy linear-algebra
Why does my translation matrix needs to be transposed?

I'm working on a small graphics engine using OpenGL and I'm having some issues with my translation matrix. I'm using …

c++ opengl matrix glsl linear-algebra
Convolution along one axis only

I have two 2-D arrays with the same first axis dimensions. In python, I would like to convolve the two …

numpy signal-processing scipy linear-algebra convolution
C++ invert matrix

The following dynamic array contains a non-symmetric n*n matrix (with n <=100): int **matrix; matrix = new int*[n]; for (…

c++ matrix linear-algebra matrix-inverse
Numpy - Transformations between coordinate systems

Using Numpy I want to transform position vectors between coordinate systems. To help visualize the problem: http://tube.geogebra.org/…

python numpy 3d linear-algebra coordinate-systems
How to compare vectors approximately in Eigen?

Is there a function in Eigen to compare vectors (matrices) using both relative and absolute tolerance aka numpy.allclose? Standard …

c++ linear-algebra eigen
Julia - absolute value of an array

I want to get the absolute value of the following array: x = [1.1 -22.3 3.01, -1] i.e.: I want an output …

math julia linear-algebra absolute-value