# net::all_combination

#include <tensor_contract_exact.hpp>

# Public Functions

Name
all_combination(unsigned int s)
void begin(unsigned int s)
void next()
template <typename ValSet >
std::pair< ValSet, ValSet >
generate(const ValSet & V)

# Public Attributes

Name
std::vector< bool > elems
unsigned int size
bool finish
bool reversed

# Public Functions Documentation

# function all_combination

inline all_combination(
    unsigned int s
)

# function begin

inline void begin(
    unsigned int s
)

# function next

inline void next()

# function generate

template <typename ValSet >
inline std::pair< ValSet, ValSet > generate(
    const ValSet & V
)

# Public Attributes Documentation

# variable elems

std::vector< bool > elems;

# variable size

unsigned int size;

# variable finish

bool finish;

# variable reversed

bool reversed =false;

Updated on 15 June 2022 at 16:04:18 CST