Skip to content

Conversation

@eriknw
Copy link
Member

@eriknw eriknw commented Aug 12, 2020

No description provided.

M[rows, col_index](mask, accum) << v # assign column
M[row_index, cols](mask, accum) << v # assign row
M[rows, cols](mask, accum) << s # assign scalar to many elements
M[row_index, col_index] << s # assign scalar to single element (mask and accum not allowed)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved the commented text here to two lines, because it was too long and created a scroll box when viewed on github.


## Import/Export connectors to the Python ecosystem
`grblas.io` contains functions for converting to and from:
- numpy arrays and matrices
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, the numpy matrix is out of style and is basically deprecated. All mention of it has been removed from this README.

@eriknw eriknw merged commit d946f29 into python-graphblas:master Aug 12, 2020
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.

1 participant