TBTK
Functions
Index.cpp File Reference
#include "../include/Index.h"
#include "../include/Streams.h"
#include "../include/TBTKMacros.h"

Functions

bool TBTK::operator< (const Index &i1, const Index &i2)
 
bool TBTK::operator> (const Index &i1, const Index &i2)
 

Detailed Description

Author
Kristofer Björnson

Function Documentation

bool TBTK::operator< ( const Index i1,
const Index i2 
)

Comparison operator. Returns false if the TreeNode structure would generate a smaller Hilbert space index for i1 than for i2.

bool TBTK::operator> ( const Index i1,
const Index i2 
)

Comparison operator. Returns false if the TreeNode structure would generate a larger Hilbert space index for i1 than for i2.