[newbie] Question about quoting
- Subject: [newbie] Question about quoting
- From: Kirill Smelkov
- Date: Fri, 19 Jan 2007 16:39:03 +0300
On Fri, Jan 19, 2007 at 06:34:47AM -0600, Barton Willis wrote:
> >I have a quistion about quoting.
> >
> >(%i1) G(x) := x^3 + x^2;
> > 3 2
> >(%o1) G(x) := x + x
> >(%i2) F: G$
> >
> >
> >*** The question is: how to construct 'G(x) using
> >F?
>
> Maybe the function 'nounify' will help:
>
> (%i1) G(x) := x^3 + x^2$
> (%i2) F : G$
> (%i3) nounify(F)(x);
> (%o3) G(x)
> (%i4) ?print(%);
> ((|%g| SIMP) $X)
> (%o4) G(x)
> (%i5) 'G(x);
> (%o5) G(x)
> (%i6) ?print(%);
> ((|%g| SIMP) $X)
> (%o6) G(x)
>
> Barton
Thanks Barton, nounify helps!
--
????? ????????, ??????.
http://landau.phys.spbu.ru/~kirr/aiv/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070119/def906fe/attachment.pgp