-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
seq(from, to, numberOfPoints) #1
Comments
If it is preferable to submit a formal Pull Request, then I could.... |
Hi @arcolombo, please do so! This will be a great addition. Thanks. |
ok to close this out. |
I'm honestly way too lazy to send a pull request, but here it is with armadillo library
|
prolly not even needed after reading through Arma docs... |
You would be amazed. This is actual a great example of using linspace in Armadillo's API. I'll bring it into the |
Here is a handy function that doesn't restrict itself to integers, but is very similar to the R
base::seq
function, which isseq(from, to, numberofPoints)
. In this case, this is used to create sequences from -x0
tox1
by2*x0/(numberofPoints)
The text was updated successfully, but these errors were encountered: