CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 01:45:30 GMT
content-type: text/html; charset=utf-8
cf-ray: 963fbd07bb05ccbb-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=800953f2-1d62-4e1c-bb55-d4be6baa671a; expires=Fri, 24 Jul 2026 01:45:29 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 3336cd97-345f-4bd6-8dcf-0d0e8b69200d
x-worker-origin-response-time: 467000000
x-dns-prefetch-control: off
set-cookie: prov=800953f2-1d62-4e1c-bb55-d4be6baa671a; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=qCO.HDvdqaVtTqRyd..F8OrYHGQJabb8dYZuCU48xwE-1753321530-1.0.1.1-jrt7Eulx3O.WUVtI1vRcVp0hBcjsasN6m_74Q2zg74QSr67FcgzQdBmJ1xGqaLejNUaC3VG2XqqKrZCAFKirJvm8Arff7cEcSCoiR.Jcks8; path=/; expires=Thu, 24-Jul-25 02:15:30 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=sGjyzJrTjT397qvJHuf7tkaTRaqkTW7LNZruDYHkTKc-1753321530036-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'matrix' Questions - Mathematica Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [matrix]
Questions on the manipulation of matrices in Mathematica.
3,632 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
91
views
Partial derivative of a matrix with respect to a vector dimension?
So I found this definition in this paper, but I wanted to double check that this is actually correct because I heard that the Partial derivative of a mxn matrix with respect to a p vector is supposed ...
0
votes
0
answers
39
views
ArrayExpand/ArraySimplify and cyclicity of the trace
I am trying to use the new (in 14.2) functions ArrayExpand and ArraySimplify to simplify expressions involving products of ...
5
votes
2
answers
191
views
Sum of combination of elements of a matrix
Give a $N \times N$ matrix $M$ in MMA, I am interested in finding a very particular sum using its matrix elements:
$ \sum_{i \neq j \neq k \neq l}^{N} M_{ij}M_{jk}M_{kl}M_{li}$,
which is of some use ...
0
votes
0
answers
54
views
Construction of RMT Hamiltonian with given potential
It is well known that the Random Matrix Theory (RMT), the potential function for the Gaussian ensembles, is
$V(H) = \frac{1}{2} H^2 \quad \Rightarrow \quad P(H) \propto e^{-\frac{N}{2} \operatorname{...
2
votes
3
answers
97
views
How can I generate a list of $n \times n$ permutation matrices containing exactly one matrix from each conjugacy class?
A permutation matrix is a $0-1$ matrix with exactly one $1$ in each row and in each column. Each $n \times n$ permutation matrix corresponds to exactly one permutation of $[n]$.
Each integer ...
0
votes
1
answer
64
views
Why the parallel version of CSR Sparse Matrix Multiplication does not provide the correct result? [closed]
More generally, why does the parallel version of this code associated with the Kahan sum not produce the same results?
The compressed sparse row (CSR) format is used for encoding sparse matrix. ...
0
votes
1
answer
92
views
How shall I extract/plot the first element in each row of a table which is a matrix for a variable? [closed]
I have a table out of a matrix for a variable, e.g., for the first value of a variable 0.1 it shows as
...
0
votes
0
answers
55
views
Bootstrapping with sdp solver in mathematica doesn't find the allowed eigenvalues properly
I am trying to bootstrap the harmonic oscillator in Mathematica using its built in SDP solver. I have the following code
...
1
vote
0
answers
55
views
Updating several entries of a matrix using an entry-position list
Consider the following 3x3 matrix (my solution needs to work for any matrix):
mat = Table[Subscript[m, i, j], {i, 3}, {j, 3}]
I can reset the entry in row 1 and ...
3
votes
1
answer
70
views
Find parameters b, c in a parameterized matrix A(b,c) to match two smallest eigenvalues to target values
I have matrix A that is dependent on two parameters b and c, so A = A(b,c). I need to find values for parameters b,c so that two smallest eigenvalues of my matrix A will be some exact numbers (in my ...
1
vote
1
answer
75
views
How to join many tables one under the other? [closed]
Suppose I have three tables with index 1, 2, 3
...
3
votes
2
answers
115
views
Generate PSD matrices with a condition
There is this highly upvoted but unanswered post at Math.SE. I would like to try some ideas. This requires numerical experiments with Hermitian and positive definite matrices $A$, $B$, and $C$ such ...
6
votes
1
answer
244
views
Optimization with vector constraint function
I would like to minimize a vector function subject to a vector constraint function. Unlike previous posts (Constrained FindMaximum with array valued function and Constrained optimization with a ...
1
vote
2
answers
212
views
How to resolve the issues in code for the system of PDEs?
I have the system of PDEs, that is:
$F_{1\eta\eta}^{k+1}(i,j)+A_1^k(i,j)F_{1\eta}^{k+1}(i,j)+A_2^k(i,j)F_1^{k+1}(i,j)+A_3^k(i,j)F_{1\xi}^{k+1}(i,j)+A_4^k(i,j)F_2^{k+1}(i,j)+A_5^k(i,j)G^{k+1}+A_6^k(i,j)...
4
votes
2
answers
370
views
Reproducing the Geometric Diagram from Strang's *Introduction to Linear Algebra* in Mathematica
I'm trying to recreate a geometric figure similar to the one on the cover of Gilbert Strang’s Introduction to Linear Algebra using Mathematica.
The cover illustrates the structure of the complete ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
linear-algebra × 837
list-manipulation × 791
performance-tuning × 243
equation-solving × 222
eigenvalues × 194
plotting × 151
sparse-arrays × 122
functions × 121
symbolic × 119
tensors × 101
vector × 101
numerics × 77
replacement × 76
random × 72
graphs-and-networks × 70
physics × 58
formatting × 51
programming × 49
complex × 47
more related tags
Hot Network Questions
- Nontrivial bound for sum involving Möbius function and fractional parts
- Must hospitals care for unidentifiable individuals indefinitely?
- How to handle missing weather data (predictors) in production time series forecast with Prophet?
- Does אֵלִ֣י in psalm 22:1 say god or "my god"
- Distribution of a dot product of multinomial variables
- Australian TV show about two dimensions separated by a deteriorating purple energy wall
- In QGIS installed via OSGeo4W on Windows 11, what is the path to the command history file for the Python console?
- Dystopian 80s sci-fi movie about the USA choosing mediocrity
- Is there a smooth function approximating the minimum of a constant and a variable?
- Ubuntu Server installation -- options for boot disks are grayed out
- How to get most recent common ancestor of a set of tips using ape package in R?
- Can one engage with physics (or science) without touching philosophy?
- A complex polynomial inequality
- Why “brew search” for “peertube” machtes with “freetube”? How does the search work?
- In this video why are the astronauts wearing only their flight suits during dragon training while in others they are in their full starman suits?
- Differential amplifier layout: closer to MCU or Load?
- Is there a formal threshold for when a variable is considered 'random' in statistics? What is it?
- Why does contact with the ground make my touch-activated LED brighter?
- Do standing sound waves sound different?
- Can a humanoid that fell supine and is then Levitated alter his orientation?
- Render / Convert .midi / .mid to FLAC on Linux
- Is a diet of one third Tuna ok for an eldery cat?
- Are birth control pills classified as a carcinogenic at the same level as asbestos and tobacco?
- Will a restless MCU survive long enough?