![]()  | 
  
    Cadabra
    
   Computer algebra system for field theory problems 
   | 
 
A class to help iterating over all values of multiple objects.
Templated over the type of the values. See test_multiindex.cc for a sample use case.
#include <MultiIndex.hh>
Public Types | |
| typedef std::vector< T > | values_type | 
Public Member Functions | |
| void | start () | 
| bool | end () const | 
| MultiIndex & | operator++ () | 
| const T & | operator[] (std::size_t i) | 
Public Attributes | |
| std::vector< values_type > | values | 
Private Attributes | |
| std::vector< std::size_t > | current_pos | 
| bool | end_ | 
| typedef std::vector<T> MultiIndex< T >::values_type | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  private | 
      
  | 
  private | 
| std::vector<values_type> MultiIndex< T >::values |