-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
'count(func,itr)' is missing #3180
Comments
I like |
I've actually wondered where this function went as well. It's still in the count(itr) → Integerhttp://docs.julialang.org/en/latest/stdlib/base.html#Base.count Count the number of boolean elements in itr which are true. Count the number of elements in itr for which predicate p is true. On Wed, May 22, 2013 at 7:00 PM, Jeff Bezanson notifications@github.comwrote:
|
Why isn't this just sum? On Wednesday, May 22, 2013, Jacob Quinn wrote:
|
Oh yes, I thought we might have renamed it to something, and that's it. |
Although in the current system |
I don't understand why you reintroduced count – it does the same thing as sum. |
Hi,
In Julia 0.1 we could use 'countp(func, itr)' but in 0.2-pre it gives a warning that it is deprecated and we should use 'count' instead. However, 'count' dosen't exist in 0.2-pre. Is there another function we should use. If so, deprecated.jl should be updated with accurate info.
Thanks,
Glen
The text was updated successfully, but these errors were encountered: