A small structure to hold a non zero as a triplet (i,j,value). More...
#include <SparseUtil.h>
Public Member Functions | |
const Index & | col () const |
const Index & | row () const |
Triplet () | |
Triplet (const Index &i, const Index &j, const Scalar &v=Scalar(0)) | |
const Scalar & | value () const |
Protected Attributes | |
Index | m_col |
Index | m_row |
Scalar | m_value |
A small structure to hold a non zero as a triplet (i,j,value).
Definition at line 149 of file SparseUtil.h.
Eigen::Triplet< Scalar, Index >::Triplet | ( | ) | [inline] |
Definition at line 152 of file SparseUtil.h.
Eigen::Triplet< Scalar, Index >::Triplet | ( | const Index & | i, |
const Index & | j, | ||
const Scalar & | v = Scalar(0) |
||
) | [inline] |
Definition at line 154 of file SparseUtil.h.
const Index& Eigen::Triplet< Scalar, Index >::col | ( | ) | const [inline] |
Definition at line 162 of file SparseUtil.h.
const Index& Eigen::Triplet< Scalar, Index >::row | ( | ) | const [inline] |
Definition at line 159 of file SparseUtil.h.
const Scalar& Eigen::Triplet< Scalar, Index >::value | ( | ) | const [inline] |
Definition at line 165 of file SparseUtil.h.
Index Eigen::Triplet< Scalar, Index >::m_col [protected] |
Definition at line 167 of file SparseUtil.h.
Index Eigen::Triplet< Scalar, Index >::m_row [protected] |
Definition at line 167 of file SparseUtil.h.
Scalar Eigen::Triplet< Scalar, Index >::m_value [protected] |
Definition at line 168 of file SparseUtil.h.