Public Member Functions | Protected Attributes
Eigen::Triplet< Scalar, Index > Class Template Reference

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

#include <SparseUtil.h>

List of all members.

Public Member Functions

const Indexcol () const
const Indexrow () 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

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()

Definition at line 149 of file SparseUtil.h.


Constructor & Destructor Documentation

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
Eigen::Triplet< Scalar, Index >::Triplet ( ) [inline]

Definition at line 152 of file SparseUtil.h.

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
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.


Member Function Documentation

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
const Index& Eigen::Triplet< Scalar, Index >::col ( ) const [inline]
Returns:
the column index of the element

Definition at line 162 of file SparseUtil.h.

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
const Index& Eigen::Triplet< Scalar, Index >::row ( ) const [inline]
Returns:
the row index of the element

Definition at line 159 of file SparseUtil.h.

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
const Scalar& Eigen::Triplet< Scalar, Index >::value ( ) const [inline]
Returns:
the value of the element

Definition at line 165 of file SparseUtil.h.


Member Data Documentation

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
Index Eigen::Triplet< Scalar, Index >::m_col [protected]

Definition at line 167 of file SparseUtil.h.

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
Index Eigen::Triplet< Scalar, Index >::m_row [protected]

Definition at line 167 of file SparseUtil.h.

template<typename Scalar , typename Index = typename SparseMatrix<Scalar>::Index>
Scalar Eigen::Triplet< Scalar, Index >::m_value [protected]

Definition at line 168 of file SparseUtil.h.


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


turtlebot_exploration_3d
Author(s): Bona , Shawn
autogenerated on Thu Jun 6 2019 21:00:58