Package sympycore :: Package calculus :: Module differentiation
[hide private]
[frames] | no frames]

Module differentiation

source code

Profides the implementation of differentation methods.

Functions [hide private]
 
diff(expr, symbol, order=1)
Return derivative of the expression with respect to symbols.
source code
call graph 
 
diff_callable(f, arg, xdata, order) source code
call graph 
 
diff_factor(base, exp, xdata, order) source code
call graph 
 
diff_generic(expr, xdata, order, NUMBER='N', SYMBOL='S', ADD=' + ', MUL='*') source code
call graph 
 
diff_product(pairs, xdata, order=1, NUMBER='N', SYMBOL='S', ADD=' + ', MUL='*') source code
call graph 
 
diff_repeated(expr, xdata, order) source code
call graph 
 
is_constant(expr, xdata) source code
call graph 
 
is_constant_exponent(exp, xdata) source code
call graph 
 
partial_derivative(func, n) source code
call graph 
Variables [hide private]
  ADD = ' + '
  FACTORS = '*'
  MUL = '*'
  NUMBER = 'N'
  SYMBOL = 'S'
  algebra_numbers = (<type 'int'>, <type 'long'>, <class 'sympyc...
  cache_factors = {}
  cache_generic = {}
  inttypes = (<type 'int'>, <type 'long'>)
  one = Calculus('1')
  zero = Calculus('0')
Function Details [hide private]

diff(expr, symbol, order=1)

source code 
call graph 

Return derivative of the expression with respect to symbols.

Examples:

expr.diff(x,y) - 2nd derivative with respect to x and y
expr.diff(x,4) is equivalent to expr.diff(x,x,x,x).

Variables Details [hide private]

algebra_numbers

Value:
(<type 'int'>,
 <type 'long'>,
 <class 'sympycore.arithmetic.numbers.mpq'>,
 <class 'sympycore.arithmetic.numbers.mpqc'>,
 <class 'sympycore.arithmetic.mpmath.mptypes.mpf'>,
 <class 'sympycore.arithmetic.mpmath.mptypes.mpc'>)