Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • $\begingroup$ First of all, thank you for your contribution. I have edited the post and explained I little better what I'm calculating. The problem is for m>5 we got imaginary values to datMK. $\endgroup$ Commented Jan 29, 2022 at 20:41
  • $\begingroup$ In summary, you suggestion works pretty well and is faster than two loops to constructing the matrices. So, for the proposite of this Question it is well done. But I got other problem with eigenvalues in which maybe I should open another question... $\endgroup$ Commented Jan 29, 2022 at 20:48
  • $\begingroup$ You're welcome. And indeed, a new thread would be better. $\endgroup$ Commented Jan 29, 2022 at 20:51
  • $\begingroup$ Should I call Needs["Developer`"] to use this recourse? $\endgroup$ Commented Jan 29, 2022 at 23:55
  • 1
    $\begingroup$ Not necessary. The "Developer`" context should be already present right from the start of the kernel. $\endgroup$ Commented Jan 30, 2022 at 0:55