APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

EJSS javascript coding

Return to the EJS Modeling forum
Login to post to this thread

Programming style, external libraries and so on
Juan Maria Fernandez
11 Posts

Simple questions:

1) When programming in the new javascript of EJSS, the programming syntaxis (procedures, variables, etc) is javascript. I have no experience with that. Is very different from java coding? Where can we learn to program in javascript?

2) I do use external libraries in java for number crunching, Lapack, and complex libraries (the old FORTRAN libraries, ported to Java. I know that Apache Org numerical calculus libraries do exist, but I feel more comfortable with the old venerable Blas and Lapack). Is it possible to use these in EJSS? (I think not, but....)   If not, are there similar libraries for number crunching in EJSS-javascript?

To make clear the question: when solving a Hamiltonian for a well potential, I do use a big 200x200 square tridiagonal matrix. I need eigen-value and eigenstate routines. Can that be done using some javascript preexistent routines?

3) Could you address me to a book, or references, in javascript coding (better in Applied Physics or Computing Physics)

Thank you very much.

Post edited August 26, 2014 at 3:47 AM EST.

Current Replies - View all
Re: Programming style, ex...   (Francisco Esquembre - )
Re: Re: Programming style...   (Juan Maria Fernandez - )
Re: Programming style, ex...   (Cleon Teunissen - )
Re: Programming style, ex...   (anto sarco - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book