|
|
last edited 17 years ago |
1 | ||
Editor:
Time: 2007/11/17 21:58:32 GMT-8 |
||
Note: |
changed: - I don't now how ... If I enter: \begin{axiom} expr:= 3*x f(x) == expr f(5) \end{axiom} I get an output of $3x$; I would like an output of 15. Is there a way to do it right? From MartinRubey Thu Apr 28 11:49:58 -0500 2005 From: Martin Rubey Date: Thu, 28 Apr 2005 11:49:58 -0500 Subject: [#150 To create a function from an expresion] (new) Message-ID: <17009.5116.793917.607691@seam101.local> In-Reply-To: <20050428111446-0500@page.axiom-developer.org> \begin{axiom} )clear all expr := 3*x function(expr, f, x) f(5) \end{axiom} Martin From loli Thu Apr 28 21:53:36 -0500 2005 From: loli Date: Thu, 28 Apr 2005 21:53:36 -0500 Subject: property change Message-ID: <20050428215336-0500@page.axiom-developer.org> Status: open => closed
I don't now how ... If I enter:
(1) -> expr:= 3*x
(1) |
f(x) == expr
f(5)
Compiling function f with type PositiveInteger -> Polynomial(Integer )
(2) |
I get an output of ; I would like an output of 15. Is there a way to do it right?
)clear all
All user variables and function definitions have been cleared. expr := 3*x
(3) |
function(expr,f, x)
(4) |
f(5)
Compiling function f with type PositiveInteger -> PositiveInteger
(5) |
Martin
Status: open => closed