Public Types | Public Member Functions | Static Public Member Functions | Friends

_tensor_basis< No_Letters, DEPTH > Class Template Reference

Base class for tensor_basis. More...

#include <_tensor_basis.h>

List of all members.

Public Types

typedef alg::LET LET
 Letter.

Public Member Functions

 _tensor_basis (void)
 Constructor.
 ~_tensor_basis (void)
 Destructor.
_tensor_basispush_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)

Detailed Description

template<unsigned No_Letters, unsigned DEPTH>
class _tensor_basis< No_Letters, DEPTH >

Base class for tensor_basis.


Constructor & Destructor Documentation

template<unsigned No_Letters, unsigned DEPTH>
_tensor_basis< No_Letters, DEPTH >::_tensor_basis ( void   )  [inline]

Constructor.

Checks that the DEPTH does not exceed the Maximum word length.


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