Message Boards Message Boards

2
|
10570 Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Need help to speed up code to find root of determinant

Attachments:
POSTED BY: Markus Schmidt
3 Replies

Dear both.

Thanks for your responses. Daniel, it really helps to speed this up, thanks for that. Do you think if there is any way to speed up the code even further, maybe by manipulating the module? I recently found out that Mathematica seems to be really slow if arbitary precision numbers are combined with Bessel functions, which I need to use for another waveguide problem. Is there any solution to this? Thanks again, Markus

POSTED BY: Markus Schmidt

I find that setting Method -> "Secant" gives an improvement in speed, roughly a factor of 4. For this one needs two start values; I used {nRss,.9*nstart,1.1*nstart}.

POSTED BY: Daniel Lichtblau
Posted 9 years ago

Hi Markus,

Isn't an assignment missing for nRss in the routine Mloop?

POSTED BY: Xavier Roy
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract