Re: $gensym
Barton Willis via Maxima-discuss <[email protected]>
| Newsgroups | gmane.comp.mathematics.maxima.general,gmane.lisp.gcl.devel |
|---|---|
| Message-ID | <BL3PR17MB60436980D3F809B079C8EBFCB6ABA@BL3PR17MB6043.namprd17.prod.outlook.com> |
You might be able to use the CL function gensym to define a function that does what you want; see
http://clhs.lisp.se/Body/f_gensym.htm
Alternatively:
(%i7) load(to_poly)$
(%i8) new_variable('real);
(%o8) %r510
(%i9) new_variable('complex);
(%o9) %c511
(%i10) featurep(%,'complex);
(%o10) true
(%i11) new_variable('integer);
(%o11) %z512
(%i12) featurep(%,integer);
(%o12) true
--Barton
_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss