A small structure to hold a non zero as a triplet (i,j,value).
More...
#include <SparseUtil.h>
|
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 |
|
template<typename Scalar, typename Index = unsigned int>
class Eigen::Triplet< Scalar, Index >
A small structure to hold a non zero as a triplet (i,j,value).
- See also
- SparseMatrix::setFromTriplets()
Definition at line 147 of file SparseUtil.h.
template<typename Scalar , typename Index = unsigned int>
template<typename Scalar , typename Index = unsigned int>
Eigen::Triplet< Scalar, Index >::Triplet |
( |
const Index & |
i, |
|
|
const Index & |
j, |
|
|
const Scalar & |
v = Scalar(0) |
|
) |
| |
|
inline |
template<typename Scalar , typename Index = unsigned int>
- Returns
- the column index of the element
Definition at line 160 of file SparseUtil.h.
template<typename Scalar , typename Index = unsigned int>
- Returns
- the row index of the element
Definition at line 157 of file SparseUtil.h.
template<typename Scalar , typename Index = unsigned int>
- Returns
- the value of the element
Definition at line 163 of file SparseUtil.h.
template<typename Scalar , typename Index = unsigned int>
template<typename Scalar , typename Index = unsigned int>
template<typename Scalar , typename Index = unsigned int>
The documentation for this class was generated from the following file: