
comDenom
Rewrites a sum of rational fractions as a one rational fraction. The denominator of the one rational fraction is
the common denominator of the rational fractions in the original expression. With a variable as second
argument, the numerator and denominator are developed according to it.
comDenom(Expr,[Var])
Example:
comDenom(1/x+1/y^2+1) gives (x*y^2+x+y^2)/ (x*y^2)
companion
Returns the companion matrix of a polynomial.
companion(Poly,Var)
Example:
companion(x^2+5x-7,x) returns
compare
Compares two objects and returns 1 if type(Obj1)<type(Obj2) or if type(Obj1)=type(Obj2) and Obj1<Obj2;
otherwise, it returns 0.
compare(Obj1, Obj2)
Example:
compare(1,2) gives 1
complexroot
With a polynomial and a real as its two arguments, returns a matrix. Each row of the matrix contains either a
complex root of the polynomial with its multiplicity or an interval containing such a root and its multiplicity.
The interval denes a (possibly) rectangular region in the complex plane where a complex root lies.
With two additional complex numbers as third and fourth arguments, returns a matrix as described for two
arguments, but only for those roots lying in the rectangular region dened by the diagonal created by the two
complex numbers.
complexroot(Poly, Real, [Complex1], [Complex2])
Example:
complexroot(x^3+8, 0.01) returns
This matrix indicates there is 1 complex root at x=–2, with another root between the two values in the second
row vector and a third root between the two values in the third row vector.
424 Chapter 22 Functions and commands
Komentarze do niniejszej Instrukcji