Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype2.Expressions.Integer Class Reference
Inheritance diagram for exahype2.api.dslhype2.Expressions.Integer:
Collaboration diagram for exahype2.api.dslhype2.Expressions.Integer:

Public Member Functions

TInteger get_type (self)
 __init__ (self, int|External value)
Index convert_integers_to_indices (self)
Integer convert_indices_to_integers (self)
 print (self, printer, int indent_level=0)
Public Member Functions inherited from exahype2.api.dslhype2.Expressions.Element
Expression index_at (self, Sequence[Element|Variable] indices, get_address=False)
Element|Variable __add__ (self, Element|Variable rhs)
Element|Variable __sub__ (self, Element|Variable rhs)
Element|Variable __neg__ (self)
Element|Variable __mul__ (self, Element|Variable rhs)

Additional Inherited Members

Data Fields inherited from exahype2.api.dslhype2.Expressions.Element
int value

Detailed Description

Definition at line 242 of file Expressions.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Expressions.Integer.__init__ ( self,
int | External value )

Definition at line 246 of file Expressions.py.

Member Function Documentation

◆ convert_indices_to_integers()

Integer exahype2.api.dslhype2.Expressions.Integer.convert_indices_to_integers ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.Element.

Reimplemented in exahype2.api.dslhype2.Expressions.Index.

Definition at line 252 of file Expressions.py.

◆ convert_integers_to_indices()

Index exahype2.api.dslhype2.Expressions.Integer.convert_integers_to_indices ( self)

◆ get_type()

TInteger exahype2.api.dslhype2.Expressions.Integer.get_type ( self)

Reimplemented from exahype2.api.dslhype2.Expressions.Element.

Reimplemented in exahype2.api.dslhype2.Expressions.Index.

Definition at line 243 of file Expressions.py.

◆ print()

exahype2.api.dslhype2.Expressions.Integer.print ( self,
printer,
int indent_level = 0 )

Reimplemented from exahype2.api.dslhype2.Expressions.Expression.

Reimplemented in exahype2.api.dslhype2.Expressions.Index.

Definition at line 255 of file Expressions.py.


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