fricas
(1) -> a:Union(Symbol,Integer)
Type: Void
fricas
b:Union(Symbol,Integer)
Type: Void
fricas
c:=a*3-b*2
Type: Polynomial(Integer)
fricas
p:UP(x,Integer):=x*2-7
Type: UnivariatePolynomial
?(x,
Integer)
fricas
pc := p c
Type: Fraction(Polynomial(Integer))
fricas
f(x)==x^3-x^2+1
Type: Void
fricas
fb := f b
fricas
Compiling function f with type Symbol -> Polynomial(Integer)
Type: Polynomial(Integer)
fricas
a:=1
Type: Union(Integer,...)
fricas
b:=-3
Type: Union(Integer,...)
fricas
eval(pc,['a=a,'b=b])
Type: Fraction(Polynomial(Integer))
fricas
eval(c,['a=a,'b=b])
Type: Polynomial(Integer)
fricas
eval(fb,['a=a,'b=b])
Type: Polynomial(Integer)
fricas
a:=3.14
Cannot convert right-hand side of assignment
3.14
to an object of the type Union(Symbol,Integer) of the left-hand
side.
fricas
m:Union(InputForm,Matrix Integer)
Type: Void
fricas
n:Union(InputForm,Matrix Integer)
Type: Void
fricas
a:Union(InputForm,Integer)
You cannot declare a to be of type Union(InputForm,Integer) because
either the declared type of a or the type of the value of a is
different from Union(InputForm,Integer) .