[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [Axiom-mail] [Axiom-mail] A newby question about eval
From: |
root |
Subject: |
[Axiom-developer] [Axiom-mail] [Axiom-mail] A newby question about eval and Expression |
Date: |
Sat, 12 Nov 2005 21:09:04 -0600 |
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
given
f:=a1*x^2 +a2*x+a3
eval(f,[a1=62/100,a2=11,a3=6])
i get:
16 2
-- x + 11x + 6
25
Type: Polynomial Fraction Integer
perhaps zz1 already has a type? try:
zz1::POLY(FRAC(INT)):=eval(f,[a1=62/100,a2=11,a3=6])
t
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden
[Axiom-developer] [Axiom-mail] [Axiom-mail] [Axiom-mail] A newby question about eval and Expression, root, 2005/11/12