Thoughts on Variables Evaluation
fricas
(1) -> a:=b
Type: Variable(b)
fricas
a2:='b
Type: Variable(b)
fricas
a = a2
Type: Equation(Variable(b))
fricas
(a = a2)@Boolean
Type: Boolean
fricas
)display properties a a2
Properties of a :
Value (has type Variable(b)): b
Properties of a2 :
Value (has type Variable(b)): b
f(x)==x+b
Type: Void
fricas
f2(x)==x+'b
Type: Void
fricas
)display properties f f2
Properties of f :
This is an interpreter function.
This depends on the following function or rule: b
CONCAT(Definition: ,f x == x + b)
Properties of f2 :
This is an interpreter function.
This depends on the following function or rule: b
CONCAT(Definition: ,f2 x == x + 'b)
f(b) = f2(b)
fricas
Compiling function f with type Variable(b) -> Polynomial(Integer)
fricas
Compiling function f2 with type Variable(b) -> Polynomial(Integer)
Type: Equation(Polynomial(Integer))
fricas
f('b) = f2('b)
Type: Equation(Polynomial(Integer))
fricas
f(x) = f2(x)
fricas
Compiling function f with type Variable(x) -> Polynomial(Integer)
fricas
Compiling function f2 with type Variable(x) -> Polynomial(Integer)
Type: Equation(Polynomial(Integer))
fricas
f(%i) = f2(%i)
fricas
Compiling function f with type Complex(Integer) -> Polynomial(
Complex(Integer))
fricas
Compiling function f2 with type Complex(Integer) -> Polynomial(
Complex(Integer))
Type: Equation(Polynomial(Complex(Integer)))
fricas
b:=1
Compiled code for f2 has been cleared.
Compiled code for f has been cleared.
fricas
)display properties f f2
Properties of f :
This is an interpreter function.
This depends on the following function or rule: b
CONCAT(Definition: ,f x == x + b)
Properties of f2 :
This is an interpreter function.
This depends on the following function or rule: b
CONCAT(Definition: ,f2 x == x + 'b)
f(b) = f2(b)
fricas
Compiling function f with type PositiveInteger -> PositiveInteger
fricas
Compiling function f2 with type PositiveInteger -> Polynomial(
Integer)
Type: Equation(Polynomial(Integer))
fricas
f('b) = f2('b)
fricas
Compiling function f with type Variable(b) -> Polynomial(Integer)
fricas
Compiling function f2 with type Variable(b) -> Polynomial(Integer)
Type: Equation(Polynomial(Integer))
fricas
f(x) = f2(x)
fricas
Compiling function f with type Variable(x) -> Polynomial(Integer)
fricas
Compiling function f2 with type Variable(x) -> Polynomial(Integer)
Type: Equation(Polynomial(Integer))
fricas
f(%i) = f2(%i)
fricas
Compiling function f with type Complex(Integer) -> Complex(Integer)
fricas
Compiling function f2 with type Complex(Integer) -> Polynomial(
Complex(Integer))
Type: Equation(Polynomial(Complex(Integer)))