API Reference
SparseVariables.SparseArray — TypeSparseArray{T,N, K <: NTuple{N,Any} }Implementation of an AbstractSparseArray where data is stored in a dictionary.
SparseVariables.IndexedVarArray — TypeIndexedVarArray{V,N,T}
Structure for holding an optimization variable with a sparse structure with extra indexingSparseVariables.insertvar! — Functioninsertvar!(var::IndexedVarArray{V,N,T}, index...)Insert a new variable with the given index only after checking if keys are valid and not already defined.
SparseVariables.unsafe_insertvar! — Functionunsafe_insertvar!(var::indexedVarArray{V,N,T}, index...)Insert a new variable with the given index withouth checking if the index is valid or already assigned.