RSG
Reputation
255
Top tag
Next privilege 300 Rep.
Create tags
 Mar19 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). Mar18 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? Mar18 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. Oct24 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 Mar18 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. Mar13 comment Finding elements from a sparse matrix @Öskå I have added one small example of $S$. Nov8 comment exporting eps figures maintaining the same size thanks to all. it worked. Jul29 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. Jul29 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). Jun19 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. Jun19 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?