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,003 questions
Filter by
Sorted by
Tagged with
21 views

I want to draw the curve of Rayleigh mixture of 4 components [on hold]

How can I draw the Graph of 3 component mixture of Rayleigh distribution
78 views

Efficiently calculating matrix exponential of a recursively generated matrix

Given a matrix $A$ of size $N \times N$, I want to evaluate the function \begin{equation} F(t) = |Tr(\exp^{-i A t})|^2 \end{equation} as a function of $t$. Here, $A[n]$ is constructed recursively ...
31 views

Retrieve the independent variables from a linear replacement list

Is there a good way to convert a linear replacement list into a list of the independent variables? For example, I would like to take {n1->n3+n4, n2->n3+2n4} and get {n3,n4}, the variables that n1 and ...
35 views

How to check if 0 polynomial lies in span of some polynomials?

I have lot of polynomials like this ...
193 views

Solving “Lyapunov-like” equation AX+X'B=C

Is there some way I can solve the following equation with $d-by-d$ matrices in Mathematica in reasonable time? $$AX+X'B=C$$ My solution below calls linsolve on $d^2,d^2$ matrix, which is too ...
39 views

Efficient Linear Operators on SparseArrays

I have a rank four SparseArray of dimension {40, 40, 40, 40}. I wish to apply a linear operator to it, whose form I know abstractly. That is, I have a simple closed form for the action of the operator ...
76 views