|
|
last edited 10 years ago by test1 |
1 2 3 4 | ||
Editor:
Time: 2007/11/17 22:19:36 GMT-8 |
||
Note: |
changed: - Theses functions are right : Need to set: \begin{axiom} )set function compile on \end{axiom} \begin{axiom} methodea a == select (t +-> t=3, expand (-10..2*a)) methodea 10 methodeb a == select (t +-> t=a, expand (-10..20)) methodeb 10 methode1 := a +-> select (t +-> t=3, expand (-10..2*a)) methode1 10 \end{axiom} This last function gives me a System error : The variable #:G30... is unbound. I think that the cause is the test a=t \begin{axiom} methode2 := a +-> select (t +-> t=a, expand (-10..20)) methode2 10 \end{axiom}
Theses functions are right :
Need to set:
)set function compile on
methodea a == select (t +-> t=3, expand (-10..2*a))
methodea 10
Compiling function methodea with type PositiveInteger -> List Integer
![]() | (1) |
methodeb a == select (t +-> t=a, expand (-10..20))
methodeb 10
Compiling function methodeb with type PositiveInteger -> List Integer
![]() | (2) |
methode1 := a +-> select (t +-> t=3, expand (-10..2*a))
![]() | (3) |
methode1 10
![]() | (4) |
This last function gives me a System error : The variable #:G30... is unbound. I think that the cause is the test a=t
methode2 := a +-> select (t +-> t=a, expand (-10..20))
![]() | (5) |
methode2 10
>> System error: The variable #:G1490 is unbound.