[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [Axiom-mail] [Axiom-mail] [Axiom-mail] A newby questio
From: |
root |
Subject: |
[Axiom-developer] [Axiom-mail] [Axiom-mail] [Axiom-mail] A newby question about eval and Expression |
Date: |
Sat, 12 Nov 2005 21:33:08 -0600 |
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
ummm, minor transcribing typo.... i actually called it with the args:
given
f:=a1*x^2 +a2*x+a3
eval(f,[a1=64/100,a2=11,a3=6]) <==== 64/100, not 62/100. sigh
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 <=