Top "Linear-algebra" questions

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

Python - NumPy - tuples as elements of an array

I'm a CS major in university working on a programming project for my Calc III course involving singular-value decomposition. The …

python arrays numpy linear-algebra
Efficient 4x4 matrix inverse (affine transform)

I was hoping someone can point out an efficient formula for 4x4 affine matrix transform. Currently my code uses cofactor …

math matrix linear-algebra
How to convert Parametric equation to Cartesian form

I need to convert a plane's equation from Parametric form to Cartesian form. For example: (1, 2, -1) + s(1, -2, 3) + t(1, 2, 3) to: …

vector geometry linear-algebra parametric-equations
Efficient element-wise multiplication of a matrix and a vector in TensorFlow

What would be the most efficient way to multiply (element-wise) a 2D tensor (matrix): x11 x12 .. x1N ... xM1 xM2 .. …

python tensorflow linear-algebra matrix-multiplication tensor
cocktail party algorithm SVD implementation ... in one line of code?

In a slide within the introductory lecture on machine learning by Stanford's Andrew Ng at Coursera, he gives the following …

matlab machine-learning octave linear-algebra svd
Row-major vs Column-major confusion

I've been reading a lot about this, the more I read the more confused I get. My understanding: In row-major …

c opengl matrix linear-algebra
C# linear algebra library

Is there stable linear algebra (more specifically, vectors, matrices, multidimensional arrays and basic operations on them) library for C#? Search …

c# .net linear-algebra nmath
Matrix power in R

Trying to compute the power of a matrix in R, I found that package expm implements the operator %^%. So x %^% …

r matrix linear-algebra
Solving a linear equation

I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++. Here's an …

math linear-algebra system linear-equation
How do I use the least squares approximation in MATLAB?

For a homework assignment in linear algebra, I have solved the following equation using MATLAB's \ operator (which is the recommended …

math matlab linear-algebra least-squares