Anybody ported NR to Java?


mathwiz
03-10-2002, 05:00 PM
Has anybody out there done any systematic porting of Numerical Recipes in C or C++ to Java? I'd be interested in what kinds of problems you encountered...

mathwiz
03-10-2002, 05:08 PM
Oh...just to clarify...I'm not a Java programmer myself right now, but I am thinking of learning :) Since I use NR in C a lot, I want to get some idea what problems I might face.

kutta
11-12-2002, 09:35 AM
This is only to make a trial that i am sending the attachment
in java codes.The program is coming under travelling persons shortest path (economical).Even though the program was tried in coding under java language it contains too many errors.Is it because of the non useof header library functions for the vector arrays.Also to treat this program which is having vector algebra as well,i seek ur guidance in clearing this java program
Shall be pleased if u let me know my coding of c++ into java is tolerably within accepted norms.Thanks a lot.Pl expedite and reply
kutta

kutta
11-16-2002, 09:38 AM
As the response for thesubject yet to be received,pl clarify the NP Class as mentioned in page 449 chapter 10.9 for further try on the same subject .What are NP class and where one can find them .Thanks

kutta
01-06-2003, 06:02 AM
Due to in-ordinate delay in getting the response either positive or negative way for the already posted attempt on initialization of
java programs for NR,especially so for the Salesperson's economiacl path(ref Fuctiion6.zip), I sent an enquiry (Subtle one ofcourse) to the auhor of NR software(as Advocated in the open Forum) and amazingly the reply from the author motivated me in the following way.
I sincerely feel now that the java version of NR would be most welcome to the public when released and that it would be in higher order of NR compared to the earlier version ,if some care is taken to include along with other helpfiul points &apendixes,the various methods of testing the java programs like Bottom-Up Testing,Integration testing,Acceptance Testing and Regression T esting forr the java codes.
This will not only help the users of NR Software in a very great way since as per my experience when I tried to make java code from C++ version of software, I was unable to code
in java error free program(Functiion6.zip).This was made clear by
the author of NR who replied warranting me to suggest as above.

kutta
10-24-2006, 05:20 AM
Has anybody out there done any systematic porting of Numerical Recipes in C or C++ to Java? I'd be interested in what kinds of problems you encountered...

Hello mathwiz,
I have been waiting to hear answers for the same question for such a long time.I tried to get the response from the authors themselves, though nothing is avaialble since many of my threads are awaiting responses, also nothing is said in the reecent past concretely about the completion of java coding for the nr. In fact as an amaeutured programmer in java i tried to inform about one completion of program (equivalent for the c++ ones) in my threaded place .So May i now request the author for this task reply now. If this is possible then u may get the answers to ur question answered because this is only a trail program which may be covering ur required clarifications viz Problem faced during Java programming endeavour from c++
In the event of a positive reply from the authors, i shall even be able to furnish yet another complete java codes (under trail ) for the full one chapter in nr.

Thanking You
As Always
:)

jojo
01-29-2007, 05:38 AM
i can't believe these people are taking so long to port the numerical methods to Java !!
Java has great potential to be THE Language for scientific computing.

Tell me, is the code copyrighted ? Can some of the users come together for the task of porting the code ?

I am relatively good with Java and have had 2 semester courses on numerical methods.

anyone else is ready ?


and this website can have a facelift. Maybe ruby-on-rails ?

Bill Press
01-29-2007, 09:04 PM
Hello, jojo. Yes, the Numerical Recipes code is copyrighted. You can make your own port to Java, but you can't share it with anyone, nor share anyone else's port. In the past, when people have done complete ports to other languages -- and when they give permission -- we've included these on the NR CDROM. We could also include a Java port with the downloadable C++ code distribution if it were up to our coding standards. However, a serious disincentive is that we can't pay royalties for this use.