-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update README.md #61
Update README.md #61
Conversation
Hmm, yes, the current README is indeed pretty anemic. 👍 Why do you insert η = 0.1
v1 = [sinh(η), cosh(η), 0, 0]
v0 = OffsetArray(v1, 0:3) just to separate the values of the array from setting the indexing? I don't feel attached to these suggestions, just wondering. And your version might have some advantages, so I'd be happy to merge this as-is. |
I did Perhaps it’d e good to have the symbolic example as well as the numeric example? Or I can just switch to your numeric example. Would you still prefer that it be something like |
I've added an exmple where one may want to express the coefficients of the Laurent polynomial
as a |
Test failures addressed in #62 |
Thanks for an excellent and much-needed enhancement! |
I know there's not anything particularly new here, but I thought it'd be good to show an example where you construct an
OffsetArray
from a preexisting array instead of anundef
. This might be redundant for experienced users but I think it's helpful for newcomers. The relativistic notation was just the first example that came to mind where0
based indexing was natural.It can be changed to something more natural or accessible if needed.