Manual

400 Functions and commands
logistic_
regression
Returns y, y', C, y'max, xmax, and R, where y is a logistic
function (the solution of y'/y=a*y+b), such that y(x0)=y0 and
where [y'(x0),y'(x0+1)...] is the best approximation of the line
formed by the elements in the list L.
logistic_regression(Lst(L),Real(x0),Real(y0))
Example:
logistic_regression([0.0,1.0,2.0,3.0,4.0],0.0
,1.0)
gives [-17.77/(1+exp(-
0.496893925384*x+2.82232341488+3.14159265359*
i)),-2.48542227469/(1+cosh(-
0.496893925384*x+2.82232341488+3.14159265359*
i))]
lvar Returns a list of variables used in an expression.
lvar(Expr)
Example:
lvar(exp(x)*2*sin(y)) gives [exp(x),sin(y)]
magenta Used in the Symbolic view of the Geometry app. In the
definition of a geometric object, including the statement
“display=magenta” specifies that the object defined will
be drawn in magenta.
map Applies a function to the elements of the list.
map(List, Function)
Example:
map([1,2,3],xx^3) gives [1,8,27]
mat2list Returns a list containing the elements of a matrix.
mat2list(Matrix)
Example:
mat2list([[1,8],[4,9]]) gives [1,8,4,9]
matpow Given a matrix and an integer n, returns the nth power of the
matrix by jordanization.
matpow(Matrix, Integer)