Base class for tensor_basis. More...
#include <_tensor_basis.h>
Public Types | |
typedef alg::LET | LET |
Letter. | |
Public Member Functions | |
_tensor_basis (void) | |
Constructor. | |
~_tensor_basis (void) | |
Destructor. | |
_tensor_basis & | push_back (const _tensor_basis &rhs) |
Concatenates two words. | |
_tensor_basis | operator* (const _tensor_basis &rhs) const |
Concatenates two words. | |
bool | operator< (const _tensor_basis &rhs) const |
Compares two words. | |
_tensor_basis (const LET uLetter) | |
unsigned | size () const |
gives the number of letters in _word | |
LET | FirstLetter () const |
Returns the first letter of a _tensor_basis as a letter. | |
_tensor_basis | lparent () const |
Returns the first letter of a _tensor_basis in a _tensor_basis. | |
_tensor_basis | rparent () const |
Returns the _tensor_basis which corresponds to the sub-word after the first letter. | |
Static Public Member Functions | |
static _tensor_basis | end () |
Friends | |
std::ostream & | operator<< (std::ostream &os, const typename _tensor_basis< No_Letters, DEPTH > &word) |
Base class for tensor_basis.
_tensor_basis< No_Letters, DEPTH >::_tensor_basis | ( | void | ) | [inline] |
Constructor.
Checks that the DEPTH does not exceed the Maximum word length.