Skip to content
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

add (some) global numpy methods #15

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

kjyv
Copy link

@kjyv kjyv commented Mar 3, 2017

I've added a few common methods and also added many ArrayLike methods to the ndarray class to return ndarray. Also ndarray subclasses the Sized type for len(ndarray) to not raise a type error.

@kjyv
Copy link
Author

kjyv commented Mar 3, 2017

Deals with #3 #14

kjyv and others added 8 commits March 5, 2017 17:31
Constructor syntaxes such as np.float32() and np.float32([1,2,3.]), etc. are valid syntax for all non-abstract numeric type, so I added constructors accordingly. The input type of the constructor 'value' is not clear regarding what's tolerated, in the same style as np.array
Added constructors for type hierarchy.
@machinaut
Copy link
Contributor

This looks looks good to me, any reason not to merge it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants