Common Contexts
Jump to navigation
Jump to search
The main pre-defined contexts are the following:
Numeric
: no points, vectors, matrices, complex numbers, or intervals are allowed.Complex
: no points, vectors, matrices, or intervals are allowed.Point
: Nearly the same as the Vector Context below, but the angle bracket andijk
notation is not allowed, and vector operations on points are not defined.Vector
:i
,j
, andk
are defined as coordinate unit vectors, and vector cross and dot produces are allowed. No complex numbers, matrices, or intervals are allowed.Vector2D
: same as Vector above, buti
andj
are defined as coordinate unit vectors in [math]{\bf R}^2[/math], andk
is not defined.Matrix
: same as Vector above, but square brackets define matrices instead of points or intervals.Interval
: similar to Numeric context, but(a,b)
,(a,b]
,[a,b)
, and[a,b]
create real Intervals rather than lists or errors. Finite sets of reals are created using{a,b,c}
(with as many or as few numbers are needed).Full
: For internal use. This context is used to seed the others.pi
is definedi
is square root of minus one, butj
andk
are unit Vectors- Matrix, Vector, Point, Intervals, and Complex are all defined
x
is a variable