Skip to main content

Questions tagged [linear-algebra]

Questions about Mathematica functionality related to manipulating vector spaces and linear mappings between such spaces. This includes determination of matrix properties, matrix transformations, decompositions, and factoring.

1 vote
1 answer
134 views

I’ve been running some Mathematica code on the HPC node and noticed that it’s running much slower than on my laptop — even for small calculations like multiplying two matrices. For example, something ...
user1475985's user avatar
1 vote
2 answers
86 views

I have two subspaces $V_1$, $V_2$ of $\mathbb{R}^n$ each specified as the span of a given list L1, L2 of basis vectors, and I ...
gmvh's user avatar
  • 135
4 votes
2 answers
130 views

I am working with a $2 \times 2$ matrix ...
seeker's user avatar
  • 867
4 votes
1 answer
148 views

I am trying to write a Mathematica program to compute the following: For a given Hermitian matrix $\rho$, the operator $L_\theta$ with respect to a parameter $\theta$ is defined as: \begin{equation} ...
seeker's user avatar
  • 867
4 votes
3 answers
509 views

How can I write code for displaying two lines in 3D space at random and connecting all points of line A with all points of line B and displaying the resulting surface in Mathematica (what would it's ...
Joselin Jocklingson's user avatar
0 votes
1 answer
89 views

I have the following example, which is a proxy for the more complex problem I am trying to solve.(Apologies that the LaTeX is explicit, for some reason it trips the code formatting error on ...
Vassili Korotkin's user avatar
0 votes
1 answer
159 views

Use Mathematica to decompose a given matrix $Q$ as $LDU$, where $L$, $D$ is a triangular matrix, diagonal matrix, respectively, and $U$ is the transpose of $L$. The built-in ...
youthdoo's user avatar
  • 647
5 votes
3 answers
449 views

I don't know Mathematica very well, I have an equation involving matrices of the following form: given two $5\times5$ matrices $A,B$ where $B$ is nilpotent we want to find a matrix $X$ such that ...
Vanja's user avatar
  • 53
5 votes
2 answers
238 views

If we have a system of variables, say, ...
youthdoo's user avatar
  • 647
3 votes
3 answers
298 views

I need to find one non-negative solution to the system of linear equations ...
youthdoo's user avatar
  • 647
0 votes
0 answers
144 views

This question uses the function sumFast (defined below as well) given : here. Let us say we are given a matrix A and I want to ...
Erosannin's user avatar
  • 1,226
0 votes
1 answer
154 views

On an assigment on numerical analysis, i'm asked to solve some linear systems of order 200x200. However, neither the function LinearSolve nor the LU decomposition run in a reasonable amount of time. ...
Mr. Feynman's user avatar
2 votes
0 answers
119 views

I have downloaded a differential forms package from 1997. It can be found here. I am trying to understand how the code works. I am am having some difficulty, and am hoping that someone can help me out....
EEH's user avatar
  • 146
1 vote
4 answers
426 views

This is the system of equations; the points in R^3 are {x1,y1,z1} and {x2,y2,z2} and the coefficients are ...
Coti's user avatar
  • 65

15 30 50 per page
1
2 3 4 5
113