g2o
Public Member Functions | List of all members
g2o::csparse_extension::SparseMatrixEntryColSort Struct Reference

Public Member Functions

bool operator() (const SparseMatrixEntry &e1, const SparseMatrixEntry &e2) const
 

Detailed Description

Definition at line 44 of file csparse_helper.cpp.

Member Function Documentation

bool g2o::csparse_extension::SparseMatrixEntryColSort::operator() ( const SparseMatrixEntry e1,
const SparseMatrixEntry e2 
) const
inline

Definition at line 46 of file csparse_helper.cpp.

References g2o::csparse_extension::SparseMatrixEntry::_c, and g2o::csparse_extension::SparseMatrixEntry::_r.

47  {
48  return e1._c < e2._c || (e1._c == e2._c && e1._r < e2._r);
49  }

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