I was taking the Machine Learning course by Andrew Ng and in one of the practice labs, they perform this operation for Linear Regression. I checked ...
I was taking the Machine Learning course by Andrew Ng and in one of the practice labs, they perform this operation for Linear Regression. I checked ...
What is the fastest way to check whether a system of linear equations has a solution? All numbers are rational numbers and the (large) coefficient ma ...
Salutations, I'm looking for a python function that is equivalent to the 'lscov' function I use in Matlab. I have 3 arrays: A(143,12) b(143,1) w(143,1 ...
I have a sequence of matrices and I want to find the inverse of each one. I suspect that there is a pattern to the row operations when putting it into ...
I want to multiply two 3D tensors in a specific way. The two tensors have shapes T1 = (a,b,c) and T2 = (d,b,c). What I want is to multiply a times T2 ...
I'm trying to draw an ellipse between two points. So far, I have it mostly working: The issue comes with setting the ellipse height (ellipse_h belo ...
I'm trying to draw an ellipse between two points. So far, I have it mostly working by adding the angle of the line to the theta of the circle function ...
I have several pairs of vectors (arranged as two matrices) and I want to compute the vector of their pairwise correlation coefficients (or, better yet ...
In Julia, I would like to write a function that prompts the user multiple times for matrix input, and then stores their inputs into an array. I have t ...
I have an $I$-indexed array $V = (V_i)_{i \in I}$ of (column) vectors $V_i$, which I want to multiply pointwise (along $i \in I$) by a matrix $M$. So ...
Having two Three dimensional spaces basis, I need to find the transformation matrix so I can convert points between two coordinate systems. I'm using ...
I am trying to solve a large system of linear equations with 32 unknown variables and 4 known variables und 34 equations using sympy. known variables ...
I'm trying to run the following code, which is simple matrix algebra: The output I obtain is: However, I'm expecting a strict [[1],[1]], which i ...
I want to find the function of calculating eigenvalue and eigenvectors in language C which has same results as MATLAB's eig function. I'm currently u ...
I need to write a program for linear algebra calculates. I switched from Matlab to python and worked with numpy and scipy. There are some small differ ...
I am using OpenCV for visual odometry. I have a video of a road taken from a monocular camera mounted on a moving car. I would like to obtain the tran ...
What I am doing wrong in the following code: I wrote two functions, one for counting operations and one for solving a system. ...
I have written some mpi code that solves systems of equations using the conjugate gradient method. In this method matrix-vector multiplication takes u ...
In a problem I'm working on, there is a need to solve Ax=b where A is a n x n square matrix (typically n = a few thousand), and b and x are vectors of ...
I have been attempting to make a linear algebra library in Java. I had a Vector class and Complex Number class already created, where the Vector class ...