A small structure to hold a non zero as a triplet (i,j,value).
More...
#include <SparseUtil.h>
|
StorageIndex | m_row |
|
StorageIndex | m_col |
|
Scalar | m_value |
|
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()
◆ col()
template<
typename Scalar ,
typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the column index of the element
◆ row()
template<
typename Scalar ,
typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the row index of the element
◆ value()
template<
typename Scalar ,
typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the value of the element
The documentation for this class was generated from the following file: