Top "Linear-algebra" questions

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

Rotating a Vector in 3D Space

I am making an android project in opengl es that uses accelerometer to calculate change in specific axes and my …

math vector 3d rotation linear-algebra
What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs?

It seems that many projects slowly come upon a need to do matrix math, and fall into the trap of …

c++ math matrix linear-algebra
"Cloning" row or column vectors

Sometimes it is useful to "clone" a row or column vector to a matrix. By cloning I mean converting a …

python numpy linear-algebra
Python Inverse of a Matrix

How do I get the inverse of a matrix in python? I've implemented it myself, but it's pure python, and …

python algorithm matrix linear-algebra matrix-inverse
Algorithm for intersection of 2 lines?

I have 2 lines. Both lines containing their 2 points of X and Y. This means they both have length. I see 2 …

c# algorithm linear-algebra
Transforming a row vector into a column vector in Numpy

Let's say I have a row vector of the shape (1, 256). I want to transform it into a column vector of …

python numpy multidimensional-array linear-algebra numpy-ndarray
Solving matrices of the form Ax = B ==> error: Matrix is close to singular or badly scaled

I'm having trouble solving a system of the form Ax=B The solution to the system should be x = inv(…

matlab linear-algebra
Math - mapping numbers

How do I map numbers, linearly, between a and b to go between c and d. That is, I want …

math numbers mapping interpolation linear-algebra
whats the fastest way to find eigenvalues/vectors in python?

Currently im using numpy which does the job. But, as i'm dealing with matrices with several thousands of rows/columns …

python matrix numpy linear-algebra eigenvalue
How to check if m n-sized vectors are linearly independent?

Disclaimer This is not strictly a programming question, but most programmers soon or later have to deal with math (especially …

math vector matrix linear-algebra