Copy a user vector of sets sparsity pattern to an internal sparse_pack object.
- Template Parameters
-
VectorSet | is a simple vector with elements of type std::set<size_t>. |
- Parameters
-
internal | The input value of sparisty does not matter. Upon return it contains the same sparsity pattern as user (or the transposed sparsity pattern). |
user | sparsity pattern that we are placing internal. |
n_set | number of sets (rows) in the internal sparsity pattern. |
end | end of set value (number of columns) in the interanl sparsity pattern. |
transpose | if true, the user sparsity patter is the transposed. |
error_msg | is the error message to display if some values in the user sparstiy pattern are not valid. |
Definition at line 602 of file sparse_pack.hpp.