When trying this code (that is probably buggy on some level), axiom simply crashes on me without any comment. I'm using the Debian (Ubuntu) build of 20050201 fricas (1) -> u := operator 'u; Type: BasicOperator?
fricas multidiff(expr, Type: Void
fricas make_taylor(expr) == series( n +-> multidiff(expr, Type: Void
Can't run this one:: fricas make_taylor(u(x)) fricas Compiling function multidiff with type (Expression(Integer), fricas Compiling function make_taylor with type Expression(Integer) -> Any
In fact, fricas series( (n:INT):EXPR INT +-> a^n,
works alright, the following fails:: fricas make_taylor(x:Symbol):ANY == series( (n:INT):EXPR INT +-> a^n, Type: Void
Works probably with patch from bug #136 --unknown, Thu, 12 May 2005 10:53:18 -0500 reply Axiom doesn't crash with this patch.
Cheers Sorry, this code works with or without this patch if you compile the functions:)set function compile on
But fricas maketaylor(x:Symbol):UnivariateTaylorSeries(Expression Integer, Type: Void
fricas maketaylor(x) fricas Compiling function maketaylor with type Symbol -> UnivariateTaylorSeries(Expression(Integer),
Cheers Category: Axiom Compiler => Axiom Interpreter Status: open => fix proposed Status: fix proposed => closed |