Function: math[init] - math package initialization

Calling Sequence:

with(math);
with(math, <sequence of function names>);
with(math, []); especially
readlib(`math/init`)();

Description:

On startup of this package the following names are automatically assigned:

Default values for math functions that can be set or changed: (G)
---------------------------------------------------------------------------
cartgridR3Color := gray # cartgridR3 & gridplot: default grid color
cartgridR3Step := [1, 1] # cartgridR3 & gridplot:
# distance between horizontal and vertical lines
cartgridR3Thickness := 1 # cartgridR3 & gridplot:
# thickness of the lines
curdir # (no default) current default directory, used by
# ls, liblist
curveplotLength := infinity # curveplot: default length for normal and tangent
# lines
curveplotNormalColor # curveplot: color of normal line
:= navy #
curveplotTangentColor # curveplot: color of tangent line
:= black #
curveplotVertical := false # curveplot: vertical line between point and x-axis
curveplotVerticalColor # curveplot: color of vertical line
:= gray #
extremaEps := 1e-8 # extrema: stop value
extremaFloat := false # extrema: do not return extrema as floats
extremaUse := SOLVE # extrema: use solve as default evaluation algorithm
extremaStep := 0.1 # extrema: step size for the subintervals if option
use <> 'solve'
fnullAlg := fs # fnull: default algorithm to search for roots
# default: fsolve
fnullApprox := true # fnull: also return values that where
# approximated
fnullEps := 1e-8 # fnull: stop value
fnullForce := true # fnull: do not force evaluation even if
# discontinuities were found
fnullNumerator := true # fnull: if expression is a fraction only
# evaluate its numerator
fnullStep := 0.1 # fnull: length of each subinterval evaluated
interpolplotSymbol # interpolplot: default symbol for interpolated points
:= CIRCLE #
interpolplotSymbolColor # interpolplot: default symbol color for the points
:= navy #
_lineCounter := 0 # line: counter for creating unique line objects
_MathEps: # cont, rangemembers, inter, cancel, extremaNonDiff:
# determines neighborhood to a result
_MathDomain := 10 .. 10 # default domain for fnull, extrema
_MathGeomVerbose := false # point, line, etc.: do not display details on geometry
# objects; true: display details
_MathPlotsDisplayOptions # set of the names of those options accepted by
# plots/display. Used by curveplot, gridplot, and seqplot
# to display titles, change fonts for labels, axes, etc.
# This env variable is currently assigned:
# {'labels', 'labelfont', 'title', 'titlefont', 'axes',
# 'axesfont', 'xtickmarks', 'ytickmarks'}.
# Add more names of display options to this variable if
# plot options are ignored by curveplot, gridplot, seqplot.
_MathQuiet := false # return warning messages (true = do not return warnings)
_MathSimplify := true # convert/explicit: simplify result
_MathSuppressInitMessage # do not suppress init message at execution of `math/init`
:= false # (true = suppress it)
_MathVector # (no default) `print/vector`:
# vertical - print vectors vertically
# horizontal - print vectors horizontally
_pointCounter := 0 # point: counter for creating unique point objects
pointgridR3Color := black # pointgridR3: default color for the points
seqplotLimitColor := red # seqplot: default color for limiting line
_MathEuro := table([ # convert/euro: table that includes exchange rates of
# 11 national currencies with respect to the Euro:
`ats` = 13.7603, # Austria
`bef` = 40.3399, # Belgium
`dem` = 1.95583, # F.R. Germany
`esp` = 166.386, # Spain
`fim` = 5.94573, # Finland
`frf` = 6.55957, # France
`iep` = 0.787564, # Ireland
`itl`= 1936.27, # Italy
`luf` = 40.3399, # Luxembourg
`nlg` = 2.20371, # The Netherlands
`pte` = 200.482, # Portugal
`usd` = 1.0202, # US$ as of August 12, 1999
`cad` = 1.5136 # CAN$ as of August 12, 1999
]);

Note: The above mentioned values may be set according to the user's preferences, either
by directly assigning values to those variables, by using setdef, or by editing
the math.ini configuration file located in the math subdirectory.

Note: The above mentioned values may be set according to the user's preferences, either
by directly assigning values to those variables or by using setdef.

Synonyms: (G)
--------------
inflec - shortcut for inflection
langle - shortcut for lineangle
rangemem - shortcut for rangemembers
rot - shortcut for rotation
RR - shortcut for RealRange

Table entries: (!, G)
---------------------
math # table to access readlib-defined math
# functions, delayed evaluation

Colors: (G)
-----------
darkcyan := COLOR(RGB, .04, 0.49, 0.49);
lightgray80 := COLOR(RGB, 0.8, 0.8, 0.8);
lightgray90 := COLOR(RGB, 0.9, 0.9, 0.9);
lightgrey80, lightgrey90 # synonyms for lightray80, lightgray90

Internally used variables: (!, G)
---------------------------------
Date # date of release (compiled into math.m)
Release # Maple system on which this package is running,
# either 5.3, 5.4, or 5.5; for full compatibility of
# the package procedures, assigned with initialization
Version # version of math package (compiled into math.m)

Internally used help procedure: (!, G)
--------------------------------------
`math/checkdomain` # checks whether its argument is a range and converts
# boundary points to floats if they are irrational;
# returns a range; used my fnull, extrema
`math/hastrig` # checks whether argument contains a trigonometric or
# hyperbolic function; used by extrema
`math/isBasic` # checks whether an expression is a constant or linear
# function; used by slopefn, lineangle
`math/isIncluded` # checks whether at least one set element is part
# of an interval; used by fnull, subproc
# bifurcation
`math/whatRelease` # checks on which Release of Maple V this package is
# running
`math/yminimax` # determines

Functions initialized by math/init: (!, G)
------------------------------------------
convert/backquote # converts a R5 string in double quotes to backquotes
convert/explicit # converts parametric function to an explicit function
convert/range # converts a RealRange expression to a Maple range
convert/RealRange # see
convert/RealRange
print/vector # prints vectors either horizontally or vertically

Types initialized by math/init: (!, G)
--------------------------------------
`type/irrational` # rational values, see ?type, irrational
`type/real` # real values, see ?type, real
`type/cmplx`
`type/elemental`
`type/mathfn`
`type/Open`,
`type/RealRange`

Main Maple Library functions that have been altered:
----------------------------------------------------
Invfunc # all variabled _B1, _Z1, _Z now declared global for
# easy substitution with subs
print/array/vector # modified to allow vectors to be plotted vertically
share/found # does not print SL init message

Shortcuts to internal math functions (`switches`) (G):
------------------------------------------------------
Release := `math/whatRelease`() # returns Maple Release on which this package
# is running
showdef := `math/showDefaults`() # see ?showdef
vechori := `print/vector`(horizontal) # horizontal display of vectors
vecvert := `print/vector`(vertical) # vertical display of vectors

Legend:
-------
(!) Do not change these values.
(G) Global Maple variables

See Also:

with , readlib , setdef , showdef .