bamos / block

An intelligent block matrix library for numpy, PyTorch, and beyond.
Apache License 2.0
300 stars 32 forks source link

Add a convert abstract method to deal with arbitrary types, and imple… #5

Closed riceric22 closed 7 years ago

riceric22 commented 7 years ago

…ment in LinearOperator to directly convert matrices to linear operators. The corresponding LinearOperator test now takes both matrices and linear operators as blocks.