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

Introduce a zero-sized vector as a "universal zero" #120

Merged
merged 4 commits into from
Oct 29, 2017

Conversation

milibopp
Copy link
Contributor

@milibopp milibopp commented Oct 27, 2017

See the discussion in #118 for motivation.

Zero from num-traits has not been implemented yet

Also left out was the multiplication of that vector to a matrix from the left. It is more involved, as the left vector is treated like a matrix. A possible solution would be to extend the universal zero concept to matrices.

For now, the above step seems out-of-scope for this PR.

EDIT: changed my mind to include the Zero trait impl.

@vbarrielle
Copy link
Collaborator

Looks all good, thanks!

@vbarrielle vbarrielle merged commit 656d10f into sparsemat:master Oct 29, 2017
@milibopp milibopp deleted the vec-universal-zero branch October 30, 2017 14:34
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.

2 participants