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

Allow quibs in overriding assignments #295

Open
rkishony opened this issue Jan 23, 2022 · 0 comments
Open

Allow quibs in overriding assignments #295

rkishony opened this issue Jan 23, 2022 · 0 comments

Comments

@rkishony
Copy link
Collaborator

if Q is a quib, allow:
Q[ind] = val
where both ind and val can be quibs

today we are transforming to values.
but we can instead keep the assignment 'functional'

this can be very helpful in definitions like:

n = iquib(10)
z = np.arange(n)
z(z % 3) = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant