axiom
a := operator 'a
axiom
seriesSolve((2*x-2)*D(a(x),x)+4*a(x),a,x=0,[1])
axiom
Compiling function %B with type List(UnivariateTaylorSeries(
Expression(Integer),x,0)) -> UnivariateTaylorSeries(Expression(
Integer),x,0)
Type: UnivariateTaylorSeries
?(Expression(Integer),
x,
0)
does not work. A workaround within the interpreter is to provide a function like:
fixedPointExquo(s, p) == fixedPointExquo(s, p::UTS(EXPR INT, x, 0))$UTSODE(EXPR INT,UTS(EXPR INT, x, 0))
but that won't work in spad.
axiom
a := operator 'a
axiom
fixedPointExquo(s, p) == fixedPointExquo(s, p::UTS(EXPR INT, x, 0))$UTSODE(EXPR INT,UTS(EXPR INT, x, 0))
Type: Void
axiom
p := seriesSolve((2*x-2)*D(a(x),x)+4*a(x),a,x=0,[1])
axiom
Compiling function %D with type List(UnivariateTaylorSeries(
Expression(Integer),x,0)) -> UnivariateTaylorSeries(Expression(
Integer),x,0)
Type: UnivariateTaylorSeries
?(Expression(Integer),
x,
0)
axiom
(2*x-2)*D(p,x)+4*p
Type: UnivariateTaylorSeries
?(Expression(Integer),
x,
0)
Looks like the case of two different x's again.
I have a better fix, but I'm still not happy. And
seriesSolve
still crashes quite often...
I'll send it per mail,
Martin
UnivariateTaylorSeriesODESolver
? is part of the
Hidden
group in
exposed.lsp.pamphlet
. Exposing this package prevents the error:
axiom
)clear completely
All user variables and function definitions have been cleared.
All )browse facility databases have been cleared.
Internally cached functions and constructors have been cleared.
)clear completely is finished.
axiom
)expose UnivariateTaylorSeriesODESolver
UnivariateTaylorSeriesODESolver is now explicitly exposed in frame
initial
axiom
a := operator 'a
axiom
seriesSolve((2*x-2)*D(a(x),x)+4*a(x),a,x=0,[1])
axiom
Compiling function %B with type List(UnivariateTaylorSeries(
Expression(Integer),x,0)) -> UnivariateTaylorSeries(Expression(
Integer),x,0)
Type: UnivariateTaylorSeries
?(Expression(Integer),
x,
0)