OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimPolynom< T, DIM >::EXP_TUPLE_LESSTHAN Struct Reference

type to store multivariate input More...

#include <ossimPolynom.h>

Public Member Functions

bool operator() (const EXP_TUPLE &o1, const EXP_TUPLE &o2) const
 

Detailed Description

template<class T, int DIM = 1>
struct ossimPolynom< T, DIM >::EXP_TUPLE_LESSTHAN

type to store multivariate input

inner functor for sorting exponent tuples

Definition at line 47 of file ossimPolynom.h.

Member Function Documentation

◆ operator()()

template<class T, int DIM = 1>
bool ossimPolynom< T, DIM >::EXP_TUPLE_LESSTHAN::operator() ( const EXP_TUPLE o1,
const EXP_TUPLE o2 
) const
inline

Definition at line 50 of file ossimPolynom.h.

51  {
52  for(unsigned int i=0;i<o1.size();++i)
53  {
54  if (o1[i]<o2[i])
55  {
56  return true;
57  } else if (o1[i]>o2[i])
58  {
59  return false;
60  }
61  }
62  return false;
63  }

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