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 255]
Cleans the expression to make the parser's job easier.
Parameters:
[ Top ]
getCache [line 208]getDerivative [line 229]
Calculates the derivative of $expression with respect to $d, taken $level times
Parameters:
[ Top ]
getDerivativeCallback [line 682]
Callback used in preg_replace_callback as a recursive way to derivate nested d()'s
Parameters:
[ Top ]
parse [line 308]
Parses the expression and recursively calculates its derivative
Parameters:
[ Top ]
registerFunction [line 662]
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 423]
Checks whether the expression relies on d?
Parameters:
[ Top ]
resetCache [line 186]
Restores/resets the cache.
Parameters:
[ Top ]
ruleAddition [line 444]
Apply the rule of additions scheme : (a+b-c)' = a' + b' - c'
Parameters:
[ Top ]
ruleDivision [line 567]
Apply the rule of divisions scheme : (a/b/c)' = ((a/b)'/c)' (a/b)' = (a'*b - b'*a) / b*b
Parameters:
[ Top ]
ruleMultiplication [line 490]
Apply the rule of multiplications scheme : (a*b*c)' = a'*b*c + b'*a*c + c'*a*b
Parameters:
[ Top ]
rulePower [line 601]
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 703]
Checks is the term contains a function or if its the variable itself
Parameters:
[ Top ]
setVariableName [line 136]
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 165]
Sets if Math_Derivative have to use the caching system.
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 14:56:52 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |