Eigen  3.2.7
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Triplet< Scalar, Index > Class Template Reference

Detailed Description

template<typename Scalar, typename Index = typename SparseMatrix<Scalar>::Index>
class Eigen::Triplet< Scalar, Index >

A small structure to hold a non zero as a triplet (i,j,value).

See Also
SparseMatrix::setFromTriplets()

Public Member Functions

const Index & col () const
 
const Index & row () const
 
const Scalar & value () const
 

Member Function Documentation

const Index& col ( ) const
inline
Returns
the column index of the element
const Index& row ( ) const
inline
Returns
the row index of the element
const Scalar& value ( ) const
inline
Returns
the value of the element

The documentation for this class was generated from the following file: