diff options
author | dos-reis <gdr@axiomatics.org> | 2008-10-14 03:09:19 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-10-14 03:09:19 +0000 |
commit | 1b563ad4798a9e1212841694616a86876877ed28 (patch) | |
tree | d3afb6181b03f5e4a743179987c625ffce381b29 /src/algebra/defintef.spad.pamphlet | |
parent | 88f88f9394c6611118f20517b8a29b735c79dcfe (diff) | |
download | open-axiom-1b563ad4798a9e1212841694616a86876877ed28.tar.gz |
Fix AW/292
* algebra/defintef.spad.pamphlet (checkForPole): Handler exponention.
(checkSMP): Likewise.
Diffstat (limited to 'src/algebra/defintef.spad.pamphlet')
-rw-r--r-- | src/algebra/defintef.spad.pamphlet | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/defintef.spad.pamphlet b/src/algebra/defintef.spad.pamphlet index b8f542cb..5e654da2 100644 --- a/src/algebra/defintef.spad.pamphlet +++ b/src/algebra/defintef.spad.pamphlet @@ -105,8 +105,8 @@ ElementaryFunctionDefiniteIntegration(R, F): Exports == Implementation where for t in v::List(P) repeat ((w := checkFor0(t, x, a, b)) case "failed") or (w::B) => return w false - (r := retractIfCan(p)@Union(K, "failed")) case "failed" => "failed" - k := r::K + (z := isExpt p) case "failed" => "failed" + k := z.var -- functions with no real zeros is?(k, "exp"::SE) or is?(k, "acot"::SE) or is?(k, "cosh"::SE) => false -- special case for log @@ -139,8 +139,8 @@ ElementaryFunctionDefiniteIntegration(R, F): Exports == Implementation where -- one? n => true -- only one summand has a pole (n = 1) => true -- only one summand has a pole "failed" -- at least 2 summands have a pole - (r := retractIfCan(p)@Union(K, "failed")) case "failed" => "failed" - kk := r::K + (z := isExpt p) case "failed" => "failed" + kk := z.var -- nullary operators have no poles nullary? operator kk => false f := first argument kk |