Re: What is gazonk*.c
Gabriel Dos Reis <[email protected]>
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Organization | Integrable Solutions |
| Message-ID | <[email protected]> |
Vanuxem Grégory <[email protected]> writes: | Le lundi 23 octobre 2006 à 12:00 -0400, Bill Page a écrit : | | > > I got following error when I tried to build a Fibonacci number. | > > Anyone could show me what I did wrong? | > | > You are not doing anything wrong. I also get an error when I | > try your definition, although it is a different error: | > | > Compiling function p as a recurrence relation. | > (4) -> p(3) | > | > >> System error: | > The function |*1;p;1;initial| is undefined. | | No problem with Gold (patch-50): | | (1) -> )set fun comp on | (1) -> p(0) == 0 | (2) -> p(1) == 1 | (3) -> p(n) == p(n-1)+p(n-2) | (4) -> p(3) | Compiling function p with type Integer -> NonNegativeInteger | Compiling function p as a recurrence relation. | | (4) 2 same on build-improvements. -- Gaby