SyFi::symexpair Class Reference

Inheritance diagram for SyFi::symexpair:

SyFi::_object

List of all members.

Public Member Functions

def __init__
def __len__
def __repr__
def __getitem__
def __setitem__

Public Attributes

 this
 first
 second

Static Private Attributes

dictionary __swig_setmethods__ = {}
tuple __setattr__ = lambdaself,name,value:_swig_setattr(self, symexpair, name, value)
dictionary __swig_getmethods__ = {}
tuple __getattr__ = lambdaself,name:_swig_getattr(self, symexpair, name)
 __repr__ = _swig_repr
 __swig_destroy__ = _SyFi.delete_symexpair


Detailed Description

Proxy of C++ std::pair<(GiNaC::symbol,GiNaC::ex)> class

Definition at line 612 of file SyFi.py.


Member Function Documentation

def SyFi::symexpair::__getitem__ (   self,
  index 
)

Definition at line 636 of file SyFi.py.

00636                                 : 
00637       if not (index % 2): 
00638         return self.first
00639       else:
00640         return self.second

def SyFi::symexpair::__init__ (   self,
  args 
)

__init__(self) -> symexpair
__init__(self, GiNaC::symbol first, GiNaC::ex second) -> symexpair
__init__(self, symexpair p) -> symexpair

Definition at line 619 of file SyFi.py.

00619                              : 
00620         """
00621         __init__(self) -> symexpair
00622         __init__(self, GiNaC::symbol first, GiNaC::ex second) -> symexpair
00623         __init__(self, symexpair p) -> symexpair
00624         """
00625         this = _SyFi.new_symexpair(*args)
00626         try: self.this.append(this)
00627         except: self.this = this
00628     __swig_setmethods__["first"] = _SyFi.symexpair_first_set

def SyFi::symexpair::__len__ (   self  ) 

Definition at line 634 of file SyFi.py.

00634 : return 2

def SyFi::symexpair::__repr__ (   self  ) 

Definition at line 635 of file SyFi.py.

00635 : return str((self.first, self.second))

def SyFi::symexpair::__setitem__ (   self,
  index,
  val 
)

Definition at line 641 of file SyFi.py.

00641                                      :
00642       if not (index % 2): 
00643         self.first = val
00644       else:
00645         self.second = val
    __swig_destroy__ = _SyFi.delete_symexpair


Member Data Documentation

tuple SyFi::symexpair::__getattr__ = lambdaself,name:_swig_getattr(self, symexpair, name) [static, private]

Definition at line 617 of file SyFi.py.

SyFi::symexpair::__repr__ = _swig_repr [static, private]

Definition at line 618 of file SyFi.py.

tuple SyFi::symexpair::__setattr__ = lambdaself,name,value:_swig_setattr(self, symexpair, name, value) [static, private]

Definition at line 615 of file SyFi.py.

SyFi::symexpair::__swig_destroy__ = _SyFi.delete_symexpair [static, private]

Definition at line 646 of file SyFi.py.

dictionary SyFi::symexpair::__swig_getmethods__ = {} [static, private]

Definition at line 616 of file SyFi.py.

dictionary SyFi::symexpair::__swig_setmethods__ = {} [static, private]

Definition at line 614 of file SyFi.py.

Definition at line 643 of file SyFi.py.

Definition at line 645 of file SyFi.py.

Definition at line 627 of file SyFi.py.


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

Generated on Mon Aug 31 16:17:07 2009 for SyFi by  doxygen 1.5.9