Manual

Functions and commands 391
exponential_
regression
Given a set of points, returns a vector containing the
coefficients a and b of y=b*a^x, the exponential which best
fits the set of points. The points may be the elements in two
lists or the rows of a matrix.
exponential_regression(Matrix) or
exponential_regression(List1, List2)
Example:
exponential_regression returns
1.60092225473,1.10008339351
EXPR Parses the string String into a number or expression.
expr (String)
Examples:
expr("2+3") returns 5
expr("X+10") returns 100, if the variable X has the
value 90
ezgcd Uses the EZ GCD algorithm to return the greatest common
divisor of two polynomials with at least two variables.
ezgcd(Poly1,Poly2)
Example:
ezgcd(x^2-2*xy+y^2-1,x-y) returns 1
f2nd Returns a vector consisting of the numerator and denominator
of an irreducible form of a rational fraction.
f2nd(RatFrac)
Example:
f2nd returns
factorial Returns the factorial of an integer or the solution to the gamma
function for a non-integer.
factorial(Integer) or factorial(Real)
Example:
factorial(4) gives 24
1.0 2.0
0.0 1.0
4.0 7.0





x
xx
--------------



1 x