add-my-pet / debtool_j.jl Goto Github PK
View Code? Open in Web Editor NEWBeta version of DEBtool_M coded in Julia language
License: Creative Commons Zero v1.0 Universal
Beta version of DEBtool_M coded in Julia language
License: Creative Commons Zero v1.0 Universal
There is a lot of code here that can be heavily optimized for performance, and restructured a little (e.g. to remove globals)
But we really need tests for each function to be able to do that easily.
Are there any tests of the original MATLAB?
DifferentialEquations is a kitchen sink package, and blows out load and compilation time be a few minutes.
We should instead include just the packages directly needed here.
Matlab in DEBtool_M is running Perl (via select), C++ (via popDyn), Java (via NetLogo in popDyn), Latex/BibTex (to compose references) and outputs in HTML, JavaScript. If we finally master the DOI archiving, we can perhaps add R to the list as well. Moreover it runs a collection of functions, such as wget, in the shell and reads in HTML pages, e.g. to classify the species. I doubtlessly forgot some more. The list shows that we should not think in terms of either/or, but of and/and. If the Julia exercise shows us what parts is slowing down the procedure most, we can also think of replacing those modules directly by C++. We also might try to run Julia under Matlab.
Can Julia handle Matlab's concept "persistent"? We use it to avoid the need to re-load allStat, but also in DEBtool_M/animal/get_tjm to set s_M if v_H < v_Hj and use it if v_H > v_Hj.
Small remarks about the js pars_init file:
the zoom factor is dimless (does not have dim length)
DEBtool_M pars_init files use DEBtool_M/lib/pet/get_d_V and get_N_waste for default values for d_E, d_V and n_*N, based on the classification of the species. The user can overwrite the default values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.