|
|
last edited 17 years ago by kratt6 |
1 2 3 4 5 | ||
Editor: kratt6
Time: 2007/12/20 01:31:20 GMT-8 |
||
Note: |
removed:
-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:
(1) -> )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.
f([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