You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
The following should result in a sub Expression of re(sqrt((V(x)-E)*(1+0i))) being created with a single variable of x, any variable know at the time of the call to the top level would be map are predefined variable to the sub Expression.
if integrate were to map the sub expression to scipy.quad(SubExpression,0,gap) this would calculate the numerical integral of the sub expression.
Note: use of V(x) depends on Issue #16 to allow the use of callbacks
This can be achieved by adding meta information to functions and operators and restructuring the internal expr from postfix to prefix notation this will allow the sub expression to be extracted and minulaped, before passing to the function expecting a callback
The text was updated successfully, but these errors were encountered:
Currently the structure of the expression is not good for functions expecting a callback i.e. scipy.quad for intergation
conisdier the following example
The following should result in a sub Expression of
re(sqrt((V(x)-E)*(1+0i)))
being created with a single variable ofx
, any variable know at the time of the call to the top level would be map are predefined variable to the sub Expression.if integrate were to map the sub expression to
scipy.quad(SubExpression,0,gap)
this would calculate the numerical integral of the sub expression.Note: use of
V(x)
depends on Issue #16 to allow the use of callbacksThis can be achieved by adding meta information to functions and operators and restructuring the internal expr from postfix to prefix notation this will allow the sub expression to be extracted and minulaped, before passing to the function expecting a callback
The text was updated successfully, but these errors were encountered: