iDynTree::Triplets class

Public types

using iterator = std::vector<iDynTree::Triplet>::iterator
using const_iterator = std::vector<iDynTree::Triplet>::const_iterator

Public functions

void reserve(std::size_t size)
void clear()
template<unsigned int rows, unsigned int cols>
void addSubMatrix(std::size_t startingRow, std::size_t startingColumn, const MatrixFixSize<rows, cols>& matrix)
void addSubMatrix(std::size_t startingRow, std::size_t startingColumn, const MatrixDynSize&)
template<MatrixStorageOrdering ordering>
void addSubMatrix(std::size_t startingRow, std::size_t startingColumn, const SparseMatrix<ordering>& matrix)
void addDiagonalMatrix(IndexRange startingRow, IndexRange startingColumn, double value)
void addDiagonalMatrix(std::size_t startingRow, std::size_t startingColumn, double value, std::size_t diagonalMatrixSize)
void pushTriplet(const Triplet& triplet)
template<std::size_t rows, std::size_t cols>
void setSubMatrix(std::size_t startingRow, std::size_t startingColumn, const MatrixFixSize<rows, cols>& matrix)
void setSubMatrix(std::size_t startingRow, std::size_t startingColumn, const MatrixDynSize&)
template<MatrixStorageOrdering ordering>
void setSubMatrix(std::size_t startingRow, std::size_t startingColumn, const SparseMatrix<ordering>& matrix)
void setDiagonalMatrix(IndexRange startingRow, IndexRange startingColumn, double value)
void setDiagonalMatrix(std::size_t startingRow, std::size_t startingColumn, double value, std::size_t diagonalMatrixSize)
void setTriplet(const Triplet& triplet)
auto isEmpty() const -> bool
auto size() const -> std::size_t
auto description() const -> std::string
auto begin() const -> const_iterator
auto begin() -> iterator
auto end() const -> const_iterator
auto end() -> iterator