Hello everybody, I am new in the comunity, just joined and I am also a beginner in Mathematica.
I really hope somebody can help me.
I am having a problem with making the product of matrices in mathematica.
The code is very simple I am just creating a function that create a Matrices that has some parameters I pass to the function.
The first time I run the nb, just after I started Mathematica it works perfectly and it is fast.
The problem is that when I ask to evaluate it a second time, for example after changing some parameters values, it takes for ever and I can wait also 5/10 minutes before to have the output. If I abort the evaluation and I start it again it works fine.But I have to do it every time and I simply don’t understand why.
It looks like something might have gone wrong when you copied your code. The code you provided has many backslashes in it and isn’t syntactically correct. Here is your code again, but without the slashes:
Yes!
thank you very much for correcting it and for your answer!
I don’t know why it changed in this way in the pasting process.
I tried your proposed solution but it didn’t work,also after cleaning the directories, the problem is always the same.
The weird thing is that I installed a trial version of Mathematica on another machine and with the same program the code works just fine.
It is quite weird.
Could it be the fact that in the machine where the problem was observed, I don’t have full administrator rights but just superuser rights?
Please make sure you have restarted Mathematica. This will prevent any extraneous defintions that were made from being part of the problem.
If you continue to see these issues, I would suggest contacting Wolfram Technical Support via email at (support@wolfram.com). Please be sure to include your activation key and a description of your problem in the email. Please also mention what you have tried to resolve the issue and attach a notebook of the output of evaluating the function SystemInformation[] in Mathematica. Evaluating SystemInformation[], produces a dialog with information about your computer, which will help them better understand the issue.