Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.math.symbolic    |    Symbolic algebra discussion    |    10,432 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,429 of 10,432    |
|    oldk1331@gmail.com to All    |
|    Re: [Axiom] How to return a Stream or on    |
|    17 May 17 01:42:27    |
      On Wednesday, May 17, 2017 at 4:03:39 PM UTC+8, Rosario19 wrote:       > How to return a Stream or better one Union(List INT, Stream INT) from       > a function?       >       > f(x:PI):Stream INT==(return expand([x..]))       > g(x:PI):Stream INT==(return [i for i in x..])       >       > f1(x:PI):Stream INT==(expand([x..]))       > g1(x:PI):Stream INT==([i for i in x..])       > g2(x:PI):Stream INT==(q:=x;r:=[i for i in q..]; return r)       >       > f and f1 has problem of conversion, g and g1 g2 seg fault Axiom              The problem with f and f1 is that you should use 'x..' instead of '[x..]':        f(x:PI):Stream INT==(return expand(x..))        f1(x:PI):Stream INT==(expand(x..))              And g and g1 and g2 work in FriCAS (a fork of Axiom).              Dude, you should post this kind of problems in one of the axiom       mailing lists instead of this generic list, you can post in:              The AXIOM mailing list:        https://lists.nongnu.org/mailman/listinfo/axiom-developer              Or, the FriCAS mailing list:        https://groups.google.com/forum/?hl=en#!forum/fricas-devel              Or, the OpenAxiom mailing list:        https://sourceforge.net/p/open-axiom/mailman/open-axiom-devel/              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca