-
Notifications
You must be signed in to change notification settings - Fork 190
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
Basic computation routines #67
Comments
I agree that we could use all of those. |
I'm not sure we need new functions for these;
It is possible to use
I will add this to #66 as you suggested.
I can handle this, too. Unweighted sum of squares is just
Sounds good. |
I agree these are useful, but shouldn't the first 3 go to Base instead? (I really wish there were an inplace operator so that these functions would not be needed at all, but waiting for it...) |
Using broadcast! can do inplace arithmetics, but it is cumbersome and not pretty. |
Certainly the last 3 would make sense here. The first 3 aren't really stats related, but until we have proper inplace support in Base, I guess it would make sense to keep them here. Perhaps they shouldn't be exported though? |
@lindahua, I wanted to ask if there is a roadmap to remove |
@Scidom NumericExtensions is still being maintained, and bugs will be fixed as needed. You don't have to change those packages at the moment. In long term, we are trying to look for a better way to provide basic computational support. |
Close this as many of these functions have already been implemented in Base. |
In the process of removing NumericExtensions from packages, I found that I keep rewriting some simple routines everywhere (i.e. many stats-related packages).
I feel that some of the commonly used routines should be placed here.
I am considering to write a small set of functions to support basic statistical computing, so that people won't have to write them again and again.
Here is a tentative list of functions to be added:
add!
,subtract!
,multiply!
, etc)abs!
,abs2!
,sqrt!
,exp!
, andlog!
)This wouldn't make the package much larger, but it will provide a lot of convenience to statistical computing.
If there's no objection, I will take the lead to implement these. Opinions?
The text was updated successfully, but these errors were encountered: