axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] What is gazonk*.c


From: Gabriel Dos Reis
Subject: Re: [Axiom-mail] What is gazonk*.c
Date: 24 Oct 2006 00:49:18 +0200

Vanuxem Grégory <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]