-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main user interface #45
Labels
Comments
emptymalei
added a commit
that referenced
this issue
Aug 6, 2024
… using a generate_from method Resolves #45
2 tasks
emptymalei
added a commit
that referenced
this issue
Aug 6, 2024
emptymalei
added a commit
that referenced
this issue
Aug 12, 2024
emptymalei
added a commit
that referenced
this issue
Aug 12, 2024
emptymalei
added a commit
that referenced
this issue
Aug 13, 2024
emptymalei
added a commit
that referenced
this issue
Aug 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let us say we have a model of electromagnetic field$A(t, \vec{x})$ . I would imagine a user generate a sample of space-time points ${(t, \vec x)}$ him/herself as a
numpy
arraysamp
, and call the instance of our model by insertingsamp
into the__call__
method of our model.From this perspective, it is sufficient for our harmonic oscillator, or pendulum, to have one parameter$t$ , and let the user insert either one time quantity, or an array of time quantities, generating the position.
We can make alternative interfaces, e.g. in the pendulum, I can imagine we insert the angle$\theta$ , and generate the auxiliary variable $u$ and time $t$ . Or inserting $u$ , generating $\theta$ and $t$ .
The text was updated successfully, but these errors were encountered: