CompareFirst< Real > Struct Template Reference

Public Member Functions

bool operator() (const std::pair< MatrixIndexT, Real > &p1, const std::pair< MatrixIndexT, Real > &p2) const
 

Detailed Description

template<typename Real>
struct kaldi::sparse_vector_utils::CompareFirst< Real >

Definition at line 228 of file sparse-matrix.cc.

Member Function Documentation

◆ operator()()

bool operator() ( const std::pair< MatrixIndexT, Real > &  p1,
const std::pair< MatrixIndexT, Real > &  p2 
) const
inline

Definition at line 229 of file sparse-matrix.cc.

230  {
231  return p1.first < p2.first;
232  }

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