Closed alexanderwlee closed 2 years ago
Please correct me if I am wrong, but it seems like the default matrix for the SparseMatrix class is the CRSMatrix. If this is the case, why are we calling CCSMatrix.zero in SparseMatrix.zero? Shouldn't the method call CRSMatrix.zero instead? https://github.com/vkostyukov/la4j/blob/dd1b917caf9606399a49afa6b0d738934cd3a7b3/src/main/java/org/la4j/matrix/SparseMatrix.java#L59-L65
SparseMatrix
CRSMatrix
CCSMatrix.zero
SparseMatrix.zero
CRSMatrix.zero
Anyways, thanks for the amazing library!
Please correct me if I am wrong, but it seems like the default matrix for the
SparseMatrix
class is theCRSMatrix
. If this is the case, why are we callingCCSMatrix.zero
inSparseMatrix.zero
? Shouldn't the method callCRSMatrix.zero
instead? https://github.com/vkostyukov/la4j/blob/dd1b917caf9606399a49afa6b0d738934cd3a7b3/src/main/java/org/la4j/matrix/SparseMatrix.java#L59-L65Anyways, thanks for the amazing library!