0
$\begingroup$

I have the following:

BBB = BBBBsparse + Transpose[BBBBsparse];
BB = BBB - DiagonalMatrix[Plus @@ BBB];

where BBBBsparse is a 1553 by 1553 SparseArray with diagnal elements as zero.

When I execute this with a whole bunch of code, it works normally, but when I tried to look at the BB matrix, it doesn't show anything. It makes a system noise and just exits. From that time it is not even showing the suggestions (like when we type something it automatically shows some suggestions) and all the global variables are lost. So I have to rerun the program again to watch other variables. But when i try to see that BB again, it does the same.

I am not sure what the problem is. I have tried it with

BB=Normal[BBB]-Normal[DiagonalMatrix[Plus@@BBB]]

But the result is the same.

Can anyone tell me whats going on?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.