Closed pelesh closed 2 months ago
this will be closed by the merge of #164 unless the addition of ReSolve::matrix::expand
is dropped.
actually, i suppose that doesn't totally resolve the issue since ReSolve::matrix::expand
is currently only host-side. it still needs to be decided whether there's a need for gpu-related functionality here
This issue has been resolved in #184. Feel free to reopen it, if needed.
In some instances an application generating symmetric matrices in a lower/upper triangle storage format may use Re::Solve's LU solvers. In that case, the matrix needs to be expanded to the full square matrix format. It would be helpful to have
expandSymmetricMatrix
function available to make such transformation when needed.First to decide is where this function should be implemented:
matrix::Sparse
class?matrix::MatrixHandler
?matrix
namespace.Several implementation details that need to be decided:
CC @kswirydo @maksud