Replies: 1 comment 1 reply
-
What about the fallowing desing?
This way any matrix (collection) should provide common storage-format-independent propertise (size). At the same time any matrix (collection) parametrized by storage and provides acces to it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the basic operations are implemented, support for empty collections (matrices, vectors) becomes more and more necessary.
This problem occurs not only as a result of the main operation, but also when calculating the intermediate result. An example is
Matrix.map
,SpGeMM
andKronecker
, respectivelyAt the same time, the solution to this problem is not so obvious.
The previously proposed support for the empty format has its semantic drawbacks.
Since if an empty matrix is a format such as
CSR
, then therefore another matrix can be converted into it. Or create an empty matrix from various data.The usual rotation of the matrix in
Option
does not solve the problem, since it does not allow you to save the size of the matrices.Beta Was this translation helpful? Give feedback.
All reactions