template<typename Scalar, typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
Triplet class
A small structure to hold a non zero as a triplet (i,j,value).
Contents
- Reference
Public functions
Function documentation
template<typename Scalar, typename StorageIndex>
const StorageIndex& Eigen:: Triplet<Scalar, StorageIndex>:: col() const
Returns | the column index of the element |
---|
template<typename Scalar, typename StorageIndex>
const StorageIndex& Eigen:: Triplet<Scalar, StorageIndex>:: row() const
Returns | the row index of the element |
---|
template<typename Scalar, typename StorageIndex>
const Scalar& Eigen:: Triplet<Scalar, StorageIndex>:: value() const
Returns | the value of the element |
---|