Package aloha :: Module aloha_lib :: Class ScalarVariable
[hide private]
[frames] | no frames]

Class ScalarVariable

source code

object --+    
         |    
  Variable --+
             |
            ScalarVariable

A concrete symbolic scalar variable

Nested Classes [hide private]

Inherited from Variable: VariableError, add_class, mult_class

Instance Methods [hide private]
 
__init__(self, variable_name, prefactor=1, power=1)
initialization of the object with default value
source code
 
copy(self)
Define a independant copy of the object
source code

Inherited from Variable: __add__, __div__, __eq__, __iadd__, __mul__, __pow__, __radd__, __rdiv__, __repr__, __rmul__, __rsub__, __rtruediv__, __str__, __sub__, __truediv__, expand, factorize, simplify

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from Variable: contract_first, vartype

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, variable_name, prefactor=1, power=1)
(Constructor)

source code 

initialization of the object with default value

Overrides: object.__init__

copy(self)

source code 

Define a independant copy of the object

Overrides: Variable.copy