iDynTree::optimalcontrol::SparsityStructure class

Constructors, destructors, conversion operators

SparsityStructure()
~SparsityStructure()

Public functions

auto merge(const SparsityStructure& other) -> bool
void addDenseBlock(size_t startRow, size_t startColumn, size_t numberOfRows, size_t numberOfColumns)
auto addDenseBlock(const iDynTree::IndexRange& rowsRange, const iDynTree::IndexRange& columnsRange) -> bool
void addIdentityBlock(size_t startRow, size_t startColumn, size_t dimension)
auto addBlock(size_t startRow, size_t startColumn, const SparsityStructure& other) -> bool
void add(size_t newRow, size_t newCol)
void add(NonZero newElement)
auto isValuePresent(size_t row, size_t col) const -> bool
void reserve(size_t newSize)
void clear()
auto size() const -> size_t
auto isValid() const -> bool
auto operator[](size_t index) const -> NonZero
auto nonZeroElementRows() const -> const std::vector<size_t>&
auto nonZeroElementColumns() const -> const std::vector<size_t>&