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 |
| |
| 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()
◆ col()
template<typename Scalar, typename Index = unsigned int>
| const Index & col |
( |
| ) |
const |
|
inline |
- Returns
- the column index of the element
◆ row()
template<typename Scalar, typename Index = unsigned int>
| const Index & row |
( |
| ) |
const |
|
inline |
- Returns
- the row index of the element
◆ value()
template<typename Scalar, typename Index = unsigned int>
| const Scalar & value |
( |
| ) |
const |
|
inline |
- Returns
- the value of the element
The documentation for this class was generated from the following file: