Suppose I have

aList(n)==[n*factorial(n+2*k-1)/(factorial(n + k)*factorial(k))*(-1)^k_
           for k in 0..14]
res := guessAlg(aList 1)

The result shows as:

    n             2                                   2      3      4
[[[x ]f(x): x f(x)  + f(x) - 1 = 0, f(x) = 1 - x + 2 x  - 5 x  + O(x )]]

with type List(Expression(Integer)).

I can do

(7) -> k := first rest tower res.1

   n             2                                   2      3      4
[[x ]f(x): x f(x)  + f(x) - 1 = 0, f(x) = 1 - x + 2 x  - 5 x  + O(x )]
                            Type: Kernel(Expression(Integer))
(8) -> operator k

   (8)  rootOfADE
                            Type: BasicOperator
(9) -> argument k

   (9)  [n, %infoser0()]
                            Type: List(Expression(Integer))

But if I want the equation? How do I get it from res?

In general it would also for the other guess functions to be able to do
something with the result other than displaying it.

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/f0b77297-46b8-deea-6c51-86faa8671672%40hemmecke.org.

Reply via email to