Ref.
fricas
)lib FSPECX
FunctionalSpecialFunction is now explicitly exposed in frame initial
FunctionalSpecialFunction will be automatically loaded when needed
from /var/aw/var/LatexWiki/FSPECX.NRLIB/FSPECX
abs2sqrt := rule abs(a+%i*b)==sqrt(a^2+b^2)
Type: RewriteRule
?(Integer,
Complex(Integer),
Expression(Complex(Integer)))
fricas
diff(ex,z) ==
eval(D(eval(ex,z=x+%i*y),x)/2-%i*D(eval(ex,z=x+%i*y),y)/2,[x=z/2+conjugate(z)/2,y=z/2-conjugate(z)/2])
Type: Void
fricas
diff'(ex,z) ==
eval(D(eval(ex,z=x+%i*y),x)/2+%i*D(eval(ex,z=x+%i*y),y)/2,[x=z/2+conjugate(z)/2,y=z/2-conjugate(z)/2])
Type: Void
fricas
diff(sin(x),x)
fricas
Compiling function diff with type (Expression(Integer),Variable(x))
-> Expression(Complex(Integer))
Type: Expression(Complex(Integer))
fricas
diff'(sin(x),x)
fricas
Compiling function diff' with type (Expression(Integer),Variable(x))
-> Expression(Complex(Integer))
Type: Expression(Complex(Integer))
fricas
diff(sqrt(x^2),x)
Type: Expression(Complex(Integer))
fricas
diff'(sqrt(x^2),x)
Type: Expression(Complex(Integer))
fricas
z*conjugate(z)
Type: Expression(Integer)
fricas
z::Expression Complex Integer
Type: Expression(Complex(Integer))
fricas
diff(z*conjugate(z),z)
fricas
Compiling function diff with type (Expression(Integer),Variable(z))
-> Expression(Complex(Integer))
Type: Expression(Complex(Integer))
fricas
eval(z*conjugate(z),z=x+%i*y)
Type: Expression(Complex(Integer))
fricas
D(%,x)/2
Type: Expression(Complex(Integer))
fricas
eval(z*conjugate(z),z=x+%i*y)
Type: Expression(Complex(Integer))
fricas
D(%,y)/2
Type: Expression(Complex(Integer))
fricas
diff'(z*conjugate(z),z)
fricas
Compiling function diff' with type (Expression(Integer),Variable(z))
-> Expression(Complex(Integer))
Type: Expression(Complex(Integer))