Hi,
Judging from
http://www.linalg.org/linbox-html/class_lin_box_1_1_sparse_matrix.html,
it seems that there is no operator=() for SparseMatrix.
(1) (Assuming I am correct on that point,) why is it?
Because other matrices (e.g. BlasMatrix) have operator=(),
I am wondering why SparseMatrix is designed so.
(2) Suppose I have SparseMatrices $A$ and $B$ where $A$ is $n$ by $n$
and $B$ is $(n+1)$ by $(n+1)$. What is a best way to embed $A$ in $B$?
In other words, what is a best way to alternate the following sentence?
for ( int i=0; i<n; ++i ) for ( int j=0; j<n; ++j ) B.setEntry(i,j,A.getEntry(i,j));
(3) Can I "resize" the SparseMatrices in linbox?
It seems natural for matrices to "get fat" in a loop.
Thank you in advance.
Sincerely,
Shunsuke