| Math_Derivative |
| [ class tree: Math_Derivative ] [ index: Math_Derivative ] [ all elements ] |
|
Packages: Math_Derivative Classes: Files: |
[ Top ] $_useCache = true[line 92] Whether to use or not the cache
[ Top ] Method DetailcleanExpression [line 248]
Cleans the expression to make the parser's job easier.
Parameters:
[ Top ]
getCache [line 201]getDerivative [line 222]
Calculates the derivative of $expression with respect to $d, taken $level times
Parameters:
[ Top ]
getDerivativeCallback [line 675]
Callback used in preg_replace_callback as a recursive way to derivate nested d()'s
Parameters:
[ Top ]
parse [line 301]
Parses the expression and recursively calculates its derivative
Parameters:
[ Top ]
registerFunction [line 655]
Registers a function to be used in the input e.g. $object->registerFunction('test', 'd(arg)*arg') arg := the argument of the function d() := derivative
Parameters:
[ Top ]
reliesOndx [line 416]
Checks whether the expression relies on d?
Parameters:
[ Top ]
resetCache [line 179]
Restores/resets the cache.
Parameters:
[ Top ]
ruleAddition [line 437]
Apply the rule of additions scheme : (a+b-c)' = a' + b' - c'
Parameters:
[ Top ]
ruleDivision [line 560]
Apply the rule of divisions scheme : (a/b/c)' = ((a/b)'/c)' (a/b)' = (a'*b - b'*a) / b*b
Parameters:
[ Top ]
ruleMultiplication [line 483]
Apply the rule of multiplications scheme : (a*b*c)' = a'*b*c + b'*a*c + c'*a*b
Parameters:
[ Top ]
rulePower [line 594]
Apply the rule of powers scheme : (a^b^c) = ((a^b)^c) (a^b)' => 1) b doesn't rely on dx -> a' * b * a^(b-1) 2) a and b rely on dx -> a^b * ((a'*b)/a + b'*log(a))
Parameters:
[ Top ]
ruleTerm [line 696]
Checks is the term contains a function or if its the variable itself
Parameters:
[ Top ]
setVariableName [line 129]
Defines the variable on which the expression depends. Only alphabetical characters are allowed. It haven't to be a single char.
Parameters:
[ Top ]
useCache [line 158]
Sets if Math_Derivative have to use the caching system.
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 14:48:52 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |