Symbolic Integers
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.
Symbolic Matrices
fricas
)clear all
All user variables and function definitions have been cleared.
fricas
m:Union(InputForm,Matrix Integer)
Type: Void
fricas
n:Union(InputForm,Matrix Integer)
Type: Void
fricas
a:Union(InputForm,Integer)
Type: Void
fricas
b:Union(InputForm,Integer)
Type: Void
fricas
ab:=(a+b)*(a+ (-1)::InputForm*b)
fricas
expr ab
There are no library operations named expr
Use HyperDoc Browse or issue
)what op expr
to learn if there is any operation containing " expr " in its
name.
Cannot find a definition or applicable library operation named expr
with argument type(s)
InputForm
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which version of the function you need.