|
|
last edited 17 years ago by kratt6 |
1 2 3 4 5 | ||
Editor: kratt6
Time: 2007/12/20 01:30:52 GMT-8 |
||
Note: |
added:
From kratt6 Thu Dec 20 01:30:52 -0800 2007
From: kratt6
Date: Thu, 20 Dec 2007 01:30:52 -0800
Subject:
Message-ID: <20071220013052-0800@axiom-wiki.newsynthesis.org>
Category: Axiom Interpreter => MathAction
The following doesn't seem to work:
axiom)set func comp on f(A:List PI, B:List PI): FRAC INT == cap(reduce(*, map(i +-> elementary i, A)), reduce(*, map(i+-> complete i, B))) Function declaration f : (List PositiveInteger,List PositiveInteger) -> Fraction Integer has been added to workspace.
axiomf([1,2,3],[2,2,2])
Compiling function f with type (List PositiveInteger,List PositiveInteger) -> Fraction Integer
![]() | (1) |
Replacing map(...)
by '[...]?' seems to resolve the problem.
Martin