Skip to content

Add simulation functions#2

Open
almdudleer wants to merge 1 commit into
nnls_d_cppfrom
almdudleer/simulation
Open

Add simulation functions#2
almdudleer wants to merge 1 commit into
nnls_d_cppfrom
almdudleer/simulation

Conversation

@almdudleer

Copy link
Copy Markdown
Collaborator

I have modified the initial functions for my tests, and I thought it may be useful to share them, since I've added some more capabilities to them at Max's request.
The most prominent feature is that you can create branching simulations from a single trunk, i.e. create one base simulation (basis, proportions, data), and then create multiple other simulations from the original one, with the same underlying data. For example, same data with different noise, with or without pure samples, etc.

The main function is createSimulation and all the functions starting with add allow to make various modifications (but copying the source, not in place). Those are the functions dealing just with calling other functions and populating simulation's items with the results. The rest of the functions represent all the underlying logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant