A small structure to hold a non zero as a triplet (i,j,value).
More...
#include <SparseUtil.h>
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
class Eigen::Triplet< Scalar, StorageIndex >
A small structure to hold a non zero as a triplet (i,j,value).
- See also
- SparseMatrix::setFromTriplets()
Definition at line 162 of file SparseUtil.h.
◆ Triplet() [1/2]
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
◆ Triplet() [2/2]
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
◆ col()
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the column index of the element
Definition at line 175 of file SparseUtil.h.
◆ row()
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the row index of the element
Definition at line 172 of file SparseUtil.h.
◆ value()
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the value of the element
Definition at line 178 of file SparseUtil.h.
◆ m_col
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
◆ m_row
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
◆ m_value
template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
The documentation for this class was generated from the following file: