Copy a user vector of bools sparsity pattern to an internal sparse_pack object.
- Template Parameters:
-
| VectorBool | is a simple vector with elements of type bool. |
- 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_row | number of rows in the sparsity pattern in user (rand dimension). |
| n_col | number of columns in the sparsity pattern in user (domain dimension). |
| transpose | if true, the sparsity pattern in internal is the transpose of the one in user. Otherwise it is the same sparsity pattern. |
Definition at line 379 of file sparse_pack.hpp.