|
|
last edited 15 years ago by kratt6 |
1 2 | ||
Editor: kratt6
Time: 2009/01/13 05:10:09 GMT-8 |
||
Note: better name... |
added:
From kratt6 Tue Jan 13 05:10:09 -0800 2009
From: kratt6
Date: Tue, 13 Jan 2009 05:10:09 -0800
Subject: better name...
Message-ID: <20090113051009-0800@axiom-wiki.newsynthesis.org>
Name: '#439 defining a recurrence messes up type of argument' => '#439 iterator variable is not completely local'
)expose RECOP
RecurrenceOperator is now explicitly exposed in frame initial GUESSRESULT ==> Record(function: EXPR INT,order: NNI)
f := operator 'f
(1) |
-- Somos 4 s: INT -> INT;
s(0)==1; s(1)==1; s(2)==1; s(3)==1;
s(n)==(s(n-1)*s(n-3)+s(n-2)^2)/s(n-4);
getEq guessRec([s m for m in 0..18],maxPower==2).1.function-f(n)*f(n+4)-f(n+1)*f(n+3)-f(n+2)^2
Compiling function s with type Integer -> Integer
Compiling function s as a recurrence relation. There are 1 exposed and 1 unexposed library operations named elt having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse,or issue )display op elt to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find application of object of type Expression(Integer) to argument(s) of type(s) Variable(function)
getEq guessRec([s n for n in 0..18],maxPower==2).1.function-f(n)*f(n+4)-f(n+1)*f(n+3)-f(n+2)^2
There are 1 exposed and 1 unexposed library operations named elt having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse,or issue )display op elt to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find application of object of type Expression(Integer) to argument(s) of type(s) Variable(function)
first [1 for m in 1..4] - m
m is declared as being in PositiveInteger but has not been given a value.
possibly this is related to a problem in the source code of guessExpRat, see the comment there
Name:#439 defining a recurrence messes up type of argument
=> #439 iterator variable is not completely local