The current implementation does not easily allow to implement the toMatrix() sparse matrix assembly method.