sequence_t* sequence_lexWords

(int n, int M)

Generates all possible integer sequence of lenght n from an alphabet with M letters.

Documentation

Generates all possible integer sequence of lenght n from an alphabet with M letters. Use lexicographical ordering. Memory allocation here.
Parameters:
- n length of sequences
- M size of alphabet
Returns:
array of generated integer sequences

Alphabetic index



This page was generated with the help of DOC++.