|
template<class Base , class Vector_set >
void ForJacSweep |
( |
size_t |
n, |
|
|
size_t |
numvar, |
|
|
player< Base > * |
play, |
|
|
Vector_set & |
var_sparsity |
|
) |
| |
Given the sparsity pattern for the independent variables, ForJacSweep computes the sparsity pattern for all the other variables.
- Template Parameters:
-
Base | base type for the operator; i.e., this operation sequence was recorded using AD< Base > and computations by this routine are done using type Base. |
Vector_set | is the type used for vectors of sets. It can be either sparse_pack or sparse_set . |
- Parameters:
-
- Checked Assertions:
- numvar == var_sparsity.n_set()
- numvar == play->num_rec_var()
Definition at line 79 of file for_jac_sweep.hpp.
Referenced by ForSparseJacBool(), and ForSparseJacSet().
|