fricas
(1) -> x:=coerce('x)$Expression(Expression Integer)
Type: Expression(Expression(Integer))
fricas
ground(x)
Type: Expression(Integer)
fricas
variables x
Type: List(Symbol)
fricas
ex1:=sin(x)$Expression(Expression Integer)
Type: Expression(Expression(Integer))
fricas
kernels ex1
Type: List(Kernel(Expression(Expression(Integer))))
fricas
differentiate(ex1,'x)
Type: Expression(Expression(Integer))
fricas
numer ex1
Type: SparseMultivariatePolynomial
?(Expression(Integer),
Kernel(Expression(Expression(Integer))))
fricas
f:=operator 'f
fricas
f(x)
Type: Expression(Expression(Integer))
fricas
opdiff:=operator(operator('%diff)$CommonOperators)$Expression(Expression Integer)
fricas
%x:=coerce('%x)$Expression(Expression Integer)
Type: Expression(Expression(Integer))
fricas
l1:=concat(concat([f(%x)],[%x]),[x])
Type: List(Expression(Expression(Integer)))
fricas
kernel(opdiff,l1,3)$Kernel(Expression(Expression Integer))
Type: Kernel(Expression(Expression(Integer)))
fricas
ex2:=coerce(%)$Expression(Expression Integer)
Type: Expression(Expression(Integer))
fricas
kernels ex1
Type: List(Kernel(Expression(Expression(Integer))))
fricas
kernels ex2
Type: List(Kernel(Expression(Expression(Integer))))
fricas
variables ex2
>> Error detected within library code:
not a kernel
fricas
differentiate(f(x),'x)
Type: Expression(Expression(Integer))
fricas
kernels %
Type: List(Kernel(Expression(Expression(Integer))))