login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SandBoxTroubleWithOperators revision 1 of 1

1
Editor: Bill Page
Time: 2015/04/02 21:23:10 GMT+0
Note:

changed:
-
Operators are not immutable. Operator properties are dynamic and among other things affect equality!
\begin{axiom}
f:=operator 'f
g:=operator 'f
test(f=g)
test(kernels f(x) = kernels g(x))
test(f(x)=g(x))
name f
name g
\end{axiom}

Change or add a property.
\begin{axiom}
display(g,(x:List OutputForm):OutputForm+->prefix('G,x)$OutputForm)
g(x)
test(f=g)
test(kernels f(x) = kernels g(x))
test(f(x)=g(x))
name f
name g
\end{axiom}

Operators are not immutable. Operator properties are dynamic and among other things affect equality!

fricas
f:=operator 'f

\label{eq1}f(1)
Type: BasicOperator?
fricas
g:=operator 'f

\label{eq2}f(2)
Type: BasicOperator?
fricas
test(f=g)

\label{eq3} \mbox{\rm true} (3)
Type: Boolean
fricas
test(kernels f(x) = kernels g(x))

\label{eq4} \mbox{\rm true} (4)
Type: Boolean
fricas
test(f(x)=g(x))

\label{eq5} \mbox{\rm true} (5)
Type: Boolean
fricas
name f

\label{eq6}f(6)
Type: Symbol
fricas
name g

\label{eq7}f(7)
Type: Symbol

Change or add a property.

fricas
display(g,(x:List OutputForm):OutputForm+->prefix('G,x)$OutputForm)

\label{eq8}f(8)
Type: BasicOperator?
fricas
g(x)

\label{eq9}G \left({x}\right)(9)
Type: Expression(Integer)
fricas
test(f=g)

\label{eq10} \mbox{\rm false} (10)
Type: Boolean
fricas
test(kernels f(x) = kernels g(x))

\label{eq11} \mbox{\rm false} (11)
Type: Boolean
fricas
test(f(x)=g(x))

\label{eq12} \mbox{\rm false} (12)
Type: Boolean
fricas
name f

\label{eq13}f(13)
Type: Symbol
fricas
name g

\label{eq14}f(14)
Type: Symbol