Cadabra
Computer algebra system for field theory problems
Public Types | Public Member Functions | Private Attributes | List of all members
cadabra::Adjform Class Reference

#include <Adjform.hh>

Public Types

using value_type = short
 
using size_type = value_type
 
using difference_type = value_type
 
using array_type = std::vector< value_type >
 
using const_reference = array_type::const_reference
 
using const_iterator = array_type::const_iterator
 

Public Member Functions

 Adjform ()
 
 Adjform (Ex::iterator it, IndexMap &index_map, const Kernel &kernel)
 
const_iterator begin () const
 
const_iterator end () const
 
bool operator< (const Adjform &other) const
 
bool operator== (const Adjform &other) const
 
bool operator!= (const Adjform &other) const
 
const_reference operator[] (size_type idx) const
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
size_type n_free_indices () const
 
size_type n_dummy_indices () const
 
void push_back (value_type value)
 
void swap (size_type a, size_type b)
 
void rotate (size_type n)
 
uint64_t to_lehmer_code () const
 
uint64_t max_lehmer_code () const
 
std::string to_string () const
 

Private Attributes

array_type data
 

Member Typedef Documentation

◆ array_type

◆ const_iterator

using cadabra::Adjform::const_iterator = array_type::const_iterator

◆ const_reference

using cadabra::Adjform::const_reference = array_type::const_reference

◆ difference_type

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ Adjform() [1/2]

cadabra::Adjform::Adjform ( )

◆ Adjform() [2/2]

cadabra::Adjform::Adjform ( Ex::iterator  it,
IndexMap index_map,
const Kernel kernel 
)

Member Function Documentation

◆ begin()

Adjform::const_iterator cadabra::Adjform::begin ( ) const

◆ empty()

bool cadabra::Adjform::empty ( ) const

◆ end()

Adjform::const_iterator cadabra::Adjform::end ( ) const

◆ max_lehmer_code()

uint64_t cadabra::Adjform::max_lehmer_code ( ) const

◆ max_size()

Adjform::size_type cadabra::Adjform::max_size ( ) const

◆ n_dummy_indices()

Adjform::size_type cadabra::Adjform::n_dummy_indices ( ) const

◆ n_free_indices()

Adjform::size_type cadabra::Adjform::n_free_indices ( ) const

◆ operator!=()

bool cadabra::Adjform::operator!= ( const Adjform other) const

◆ operator<()

bool cadabra::Adjform::operator< ( const Adjform other) const

◆ operator==()

bool cadabra::Adjform::operator== ( const Adjform other) const

◆ operator[]()

Adjform::const_reference cadabra::Adjform::operator[] ( Adjform::size_type  idx) const

◆ push_back()

void cadabra::Adjform::push_back ( value_type  value)

◆ rotate()

void cadabra::Adjform::rotate ( size_type  n)

◆ size()

Adjform::size_type cadabra::Adjform::size ( ) const

◆ swap()

void cadabra::Adjform::swap ( size_type  a,
size_type  b 
)

◆ to_lehmer_code()

uint64_t cadabra::Adjform::to_lehmer_code ( ) const

◆ to_string()

std::string cadabra::Adjform::to_string ( ) const

Member Data Documentation

◆ data

array_type cadabra::Adjform::data
private

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