Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > Methods: Chapters 2, 11, and 18

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2010, 09:35 AM
monir monir is offline
Registered User
 
Join Date: Oct 2007
Posts: 18
Where to find Module nr Used in F90 Sub [B]SvdCmp_dp[/B]() ??

Hello;

I'm replacing F77 Sub SvdCmp() in one of my algorithms with Sub SvdCmp_dp().
In the process I'm also converting gradually but slowly to F90 construct!

The NR F90 Sub SvdCmp_dp(a,w,v), listed in Chapter B2, page 1026, uses Modules nrtype and nrutil.
In addition, it also uses:
USE nr, ONLY : pythag

So far I haven't been able to locate Module nr

Can someone please direct me to where to find it ??

Thank you kindly.
Monir
Reply With Quote
  #2  
Old 07-28-2010, 09:45 AM
MPD78 MPD78 is offline
Registered User
 
Join Date: Dec 2008
Location: Pittsburgh, PA
Posts: 172
The modules are located in appendix C1

http://www.nrbook.com/a/bookf90pdf/chap2c1f9.pdf

You can probably just type in the nrtype module but the nrutil is quite long.

I don't use the fortran recipes so that is about as much help as I can give.

Thanks
Matt
Reply With Quote
  #3  
Old 07-28-2010, 10:12 AM
monir monir is offline
Registered User
 
Join Date: Oct 2007
Posts: 18
Matt;

Thank you for your prompt reply.

Appendix C1 "Listing of Utility Modules
(nrtype and nrutil)" doesn't include Module nr.

I'm sure the module is somewhere since it is extensively used by almost all the NR F90 routines.
I just couldn't locate it!

Kind regards.
Monir
Reply With Quote
  #4  
Old 07-28-2010, 10:25 AM
MPD78 MPD78 is offline
Registered User
 
Join Date: Dec 2008
Location: Pittsburgh, PA
Posts: 172
utility nr is listed in appendix C2

http://www.nrbook.com/a/bookf90pdf/chap2c2f9.pdf

Thanks
Matt
Reply With Quote
  #5  
Old 07-28-2010, 11:56 AM
monir monir is offline
Registered User
 
Join Date: Oct 2007
Posts: 18
Matt;

You're absolutely correct!

Believe it or not, I had looked everywhere for MODULE nr with no luck. In NR F90 electronic files, google search using different keywords, diff NR sites, my personal tech notes, etc.

Never looked in:
"Appendix C2, p. 1384: "Alphabetical Listing of Explicit Interfaces"
I (mistakenly) had expected the name of something that important and crucial to the use of the NR F90 routines to be in the title of the Appendix. Keep in mind the module is 50 page long and it is the ONLY module listed in Appendix C2.

Thank you once again for your tremendous help.

Kind regards.
Monir
Reply With Quote
  #6  
Old 07-28-2010, 01:21 PM
MPD78 MPD78 is offline
Registered User
 
Join Date: Dec 2008
Location: Pittsburgh, PA
Posts: 172
Talking

I am glad to be of use.

I hope you don't have to type all 50 pages in.

Thanks
Matt
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.