Top "Matrix-inverse" questions

The matrix inverse, A^{-1}, is a mathematical relationship such that given a square n x n matrix A, A*A^{-1} = A^{-1}*A = I, where I is the identity matrix.

Calculating an inverse matrix in Matlab

I'm running an optimization algorithm that requires calculation of the inverse of a matrix. The goal of the algorithm is …

matlab linear-algebra matrix-inverse numerical-stability
Fast inverse and transpose matrix in Python

I have a large matrix A of shape (n, n, 3, 3) with n is about 5000. Now I want find the inverse …

python numpy transpose matrix-inverse
Why is the output of inv() and pinv() not equal in Matlab and Octave?

I have noticed that if A is a NxN matrix and it has the inverse matrix. But what the inv() …

matlab precision floating-accuracy matrix-inverse numerical-analysis
Fast method to check if a Matrix is singular? (non-invertible, det = 0)

What is the fastest algorithm (a link to C or C++ example would be cool) to check if a small …

algorithm matrix matrix-inverse
Is there a fast way to invert a matrix in Matlab?

I have lots of large (around 5000 x 5000) matrices that I need to invert in Matlab. I actually need the inverse, …

algorithm matlab matrix performance matrix-inverse
Improving a badly conditioned matrix

I have a badly conditioned matrix, whose rcond() is close to zero, and therefore, the inverse of that matrix does …

matlab matrix sparse-matrix matrix-inverse regularized
Easiest way to perform modular matrix inversion with Python?

I'd like to take the modular inverse of a matrix like [[1,2],[3,4]] mod 7 in Python. I've looked at numpy (which does …

python matrix number-theory matrix-inverse
Calculating inverse of a very large matrix

I am trying to calculate inverse of a very large matrix (11300x21500) in C++. So far I have tried Eigen …

c++ sparse-matrix matrix-inverse
How to check if a matrix has an inverse in the R language

How do you determine if a matrix has an inverse in R? So is there in R a function that …

r matrix-inverse
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