-
Notifications
You must be signed in to change notification settings - Fork 64
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
wishlist #69
Comments
@FilipeMaia any thoughts ? |
|
BTW about (1) the issue only happens with |
@FilipeMaia Any idea why numpy's |
@pavanky Why would your class have precedence over numpy's one? The numpy argument is first so its |
@FilipeMaia yeah I just found that out myself. May be a simple solution would be to have the user set a flag which chooses between |
@pavanky That could be an option. Another possibility might be to raise a warning if |
@FilipeMaia This will still not solve the problem. I am guessing |
You mean |
@FilipeMaia I am leaning towards not supporting |
Sure, that's cleaner and also a reasonable solution. |
@pavanky I found a better solution! Setting the |
@FilipeMaia can you send in a patch ? You understand the situation better than I do here. |
@ZacDiggum since (1) is now fixed and (2) has a different issue associated with it, can you close the issue and open a new one for adding new methods (or atleast rename this issue to reflect the unresolved ones). |
np.sin(scalar)+af_array=np_array
don't happen. It's confusing and people are bound to usemath.
orcmath.
functions. Pyopencl does the casting silently. funny:af_array+np.sin(scalar)=af_array
.abs()
,.min()
,.max()
,.sum()
,.imag
,.real,
.conj()
,.transpose()
and so on) and rename the array attributes (.elements()
to.size
,.dims()
to.shape
,af.moddims()
to.reshape()
...)The text was updated successfully, but these errors were encountered: