MOAB
4.9.3pre
|
A small structure to hold a non zero as a triplet (i,j,value). More...
#include <SparseUtil.h>
Public Member Functions | |
Triplet () | |
Triplet (const StorageIndex &i, const StorageIndex &j, const Scalar &v=Scalar(0)) | |
const StorageIndex & | row () const |
const StorageIndex & | col () const |
const Scalar & | value () const |
Protected Attributes | |
StorageIndex | m_row |
StorageIndex | m_col |
Scalar | m_value |
A small structure to hold a non zero as a triplet (i,j,value).
Definition at line 154 of file SparseUtil.h.
Eigen::Triplet< Scalar, StorageIndex >::Triplet | ( | ) | [inline] |
Definition at line 157 of file SparseUtil.h.
Eigen::Triplet< Scalar, StorageIndex >::Triplet | ( | const StorageIndex & | i, |
const StorageIndex & | j, | ||
const Scalar & | v = Scalar(0) |
||
) | [inline] |
Definition at line 159 of file SparseUtil.h.
const StorageIndex& Eigen::Triplet< Scalar, StorageIndex >::col | ( | ) | const [inline] |
Definition at line 167 of file SparseUtil.h.
{ return m_col; }
const StorageIndex& Eigen::Triplet< Scalar, StorageIndex >::row | ( | ) | const [inline] |
const Scalar& Eigen::Triplet< Scalar, StorageIndex >::value | ( | ) | const [inline] |
StorageIndex Eigen::Triplet< Scalar, StorageIndex >::m_col [protected] |
Definition at line 172 of file SparseUtil.h.
StorageIndex Eigen::Triplet< Scalar, StorageIndex >::m_row [protected] |
Definition at line 172 of file SparseUtil.h.
Scalar Eigen::Triplet< Scalar, StorageIndex >::m_value [protected] |
Definition at line 173 of file SparseUtil.h.