Logo Search packages:      
Sourcecode: python-scientific version File versions  Download package

Scientific::Functions::Derivatives::DerivVar Class Reference

List of all members.

Detailed Description

Variable with derivatives

Constructor: DerivVar(|value|, |index| = 0, |order| = 1)


|value| -- the numerical value of the variable

|index| -- the variable index (an integer), which serves to
           distinguish between variables and as an index for
           the derivative lists. Each explicitly created
           instance of DerivVar must have a unique index.

|order| -- the derivative order

Indexing with an integer yields the derivatives of the corresponding

Definition at line 105 of file Derivatives.py.

Public Member Functions

def __abs__
def __add__
def __cmp__
def __coerce__
def __div__
def __getitem__
def __init__
def __mul__
def __neg__
def __nonzero__
def __pos__
def __pow__
def __rdiv__
def __repr__
def __rpow__
def __rsub__
def __str__
def __sub__
def arccos
def arcsin
def arctan
def arctan2
def cos
def cosh
def exp
def log
def log10
def sign
def sin
def sinh
def sqrt
def tan
def tanh
def toOrder

Public Attributes


Private Member Functions

def _mathfunc

Static Private Attributes

 __radd__ = __add__
 __rmul__ = __mul__

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

Generated by  Doxygen 1.6.0   Back to index