A small structure to hold a non zero as a triplet (i,j,value).
More...
#include <SparseUtil.h>
|
const StorageIndex & | col () const |
|
const StorageIndex & | row () const |
|
| Triplet () |
|
| Triplet (const StorageIndex &i, const StorageIndex &j, const Scalar &v=Scalar(0)) |
|
const Scalar & | value () const |
|
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 154 of file SparseUtil.h.
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
Eigen::Triplet< Scalar, StorageIndex >::Triplet |
( |
const StorageIndex & |
i, |
|
|
const StorageIndex & |
j, |
|
|
const Scalar & |
v = Scalar(0) |
|
) |
| |
|
inline |
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
const StorageIndex& Eigen::Triplet< Scalar, StorageIndex >::col |
( |
| ) |
const |
|
inline |
- Returns
- the column index of the element
Definition at line 167 of file SparseUtil.h.
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
const StorageIndex& Eigen::Triplet< Scalar, StorageIndex >::row |
( |
| ) |
const |
|
inline |
- Returns
- the row index of the element
Definition at line 164 of file SparseUtil.h.
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
- Returns
- the value of the element
Definition at line 170 of file SparseUtil.h.
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
template<typename Scalar , typename StorageIndex = typename SparseMatrix<Scalar>::StorageIndex>
The documentation for this class was generated from the following file: