Reputation
267
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 9
Newest
 Commentator
Impact
~5k people reached

  • 0 posts edited
  • 1 helpful flag
  • 20 votes cast
Mar
19
comment Optimizing matrix inequalities over trace
This is one test example. Let A={{1,I},{-I,2}}, B1 = {{1/2, 1/2 (I + Sqrt[3])}, {1/2 (-I + Sqrt[3]), -1}}and B2 = {{1, 1/2 (-I - Sqrt[3])}, {1/2 (I - Sqrt[3]), -1}}. We want to get a B with the required properties. ON course, this is a test case. In reality; the matrices will be of much larger dimensions (around 80).
Mar
18
comment Optimizing matrix inequalities over trace
There is error. I guess it is due the following things. The matrix newB is not defined as Hermitian matrix. Hence, we are getting all types of complex numbers as outputs of minEig and Tr. Is it possible to restrict our search only on the Hermitian matrices?
Mar
18
comment Optimizing matrix inequalities over trace
Thank you for your help. I am trying to implement it with simple examples. I guess we can replace Real by Complex. Isn't it? My matrices are not real matrices, they are Hermitian. I am working on the program. I shall keep on informing you as it progresses. I am also concerned that FindMinimum may take a long time to run and give output.
Oct
24
comment Programming for matrix manipulation
I used this matrix for checking. X = Table[Subscript[x, i, j], {i, 64}, {j, 64}]; Big[X,m,p,q,r,s] This is because of the program which we have written earlier. This makes a 64 x 64 matrix, which can be seen as a 16 x 16 block matrix, where each block is a diagonal matrix. Of course, my actual program is to write a more complicated operation instead of the simple one. This is just a test cast
Mar
18
comment Manipulating sparse array elements
Thanks a lot, especially for the second part. My arrays are very large. I only gave a small example for the question.
Mar
13
comment Finding elements from a sparse matrix
@Öskå I have added one small example of $S$.
Nov
8
comment exporting eps figures maintaining the same size
thanks to all. it worked.
Jul
29
comment Version differences in Parallelize
true. there was a toolkit for 6 by which i hoped i could do some of the things. It seems it is not possible. i have to work in 7 instead. thanks for the help.
Jul
29
comment Version differences in Parallelize
can you tell me how to do that. this is the first time i am trying to use parallel process. i do not know how many kernels it will take (as some other guys use it for same purpose too).
Jun
19
comment exporting list of matrices in mathematica
@Szabolcs thanks a lot. rewriting the code. the runtime was a real concern for me to generate a long list of matrices with a few properties which were time consuming.
Jun
19
comment exporting list of matrices in mathematica
@Szabolcs thanks for the reply and it worked. i have written above a simplified version of the code. actually there are a few more things which i have put under 'For' loop. nevertheless, can you please tell me why you advice using 'For' loop judiciously?