All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

Looping Constructs to create a set of varibale matrices

I am trying to create an $ n \times n $ matrix, which has cosine terms. I would like to select the values of the arguments of cosine terms from a random set of values that I have generated. My code ...
1
vote
1answer
158 views

While loop (or alternative) to generate list of random submatrices satisfying condition

I'm trying to generate a list of random submatrices with matrix norm 0.1, however I'm getting stuck; currently my code looks like this, where I run over a while loop. ...
3
votes
2answers
109 views

Programming with Mathematica Syntax - Dunford decomposition

I am always amazed while I am reading some solutions of problems in mathematical problems of this site with Mathematica. For instance, look at the problem 48. Whereas I am writing 100 lines of code ...
0
votes
1answer
123 views

Want advice on writing better code to do matrix calculation [closed]

I want to perform the computation shown in the code given below in a much faster way. I have three loops for e, i and ...
0
votes
0answers
24 views

Finding trivial solutions, of the type 0 = 0, of an equation involving su(N) structure constants

so I have a bunch of equations $f_{abc} = f_{egd}m_{ae}m_{bg}m_{cd}$ (sum over repeated indices), where $f_{abc}$ are the structure constants of $su(N)$, for some $N$, and $m_{ab}$ are elements of ...
2
votes
1answer
324 views

Fourier transform along only one dimension of 2D array

I'm a relative newbie to Mathematica Before you flag me as duplicate, note that I have read and studied "Fourier transform over a custom dimension" as best I can. I cannot understand the answer, it ...
1
vote
1answer
51 views

How to write a code for user defined list

I want to make a 1 dimension list like {x[1],x[2],...} I want it to be filled by a user, maybe using Input[] function.
1
vote
1answer
57 views

Building a matrix procedurally

The following code is syntactically correct (I receive no error message) but it does not print the matrix I am expecting. In fact, it does not print anything at all. I expect: $\begin{bmatrix} d &...
-1
votes
1answer
100 views

Repeating Calculations/Iterations without a specific function

I am trying to repeat an initial condition many times such that I get a desired final output. ONE final output depends on many subsequent calculations from ONE initial condition. But I want to get a ...