File: mathomatic.1

package info (click to toggle)
mathomatic 14.0.6-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,108 kB
  • ctags: 659
  • sloc: ansic: 16,067; makefile: 160; python: 77; sh: 74
file content (123 lines) | stat: -rw-r--r-- 3,903 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.TH MATHOMATIC 1

.SH NAME
mathomatic \- automatic algebraic manipulator

.SH SYNOPSIS
.B mathomatic
[
.B \-chqrtuv
] [
.B \-m
number
] [
input_files
]

.SH DESCRIPTION
Mathomatic is a general-purpose CAS (Computer Algebra System) and calculator software
that can symbolically solve, simplify, combine, and compare equations,
perform complex number and polynomial arithmetic, etc.
It does some calculus and handles all elementary algebra, except logarithms.

Mathomatic is entirely hand-written in optimized C.
It does not permit extremely large expressions, which can take a lot of memory and time.
Instead reliability, ease of use, and speed are its features.

All arithmetic is double precision floating point
with up to 14 decimal digits accuracy.

.SH OPTIONS
.TP
.B \-c
Toggle color mode.
This mode outputs ANSI escape sequences to make each level of
parentheses a different color, for easier reading.
Requires a terminal emulator that supports ANSI color escape sequences.
If the colors are too hard to see, try typing "set bold" at the Mathomatic prompt
to increase the brightness.

.TP
.B \-h
Enable HTML output mode (which is also valid XHTML).
This makes Mathomatic output suitable for inclusion in a web page.
The color mode flag affects this mode, allowing HTML color output.
By default, Mathomatic uses maximum brightness colors for HTML,
so it is recommended that the web page have a dark background.

.TP
.B \-m number
Change the memory size of equation spaces.
It is followed by a decimal floating point number which is a multiplier
of the default equation space size.
Please don't set this higher than 10, unless you know what you are doing.

.TP
.B \-q
Set quiet mode.
The startup message and prompts are not displayed.
This is useful when piping or redirecting input into Mathomatic,
because the input won't be displayed,
so prompt output should be turned off.

.TP
.B \-r
Completely disable readline input processing.
Readline allows using the cursor keys and outputs terminal control codes
which can be turned off with this option.

.TP
.B \-t
Set test mode.
Used when testing and comparing output.
Bypasses loading startup file, turns off color mode and readline,
sets infinite screen width and height, ignores pause command, etc.

.TP
.B \-u
Guarantee standard output is unbuffered.

.TP
.B \-v
Display version number, compile flags used, maximum memory usage, and then exit.
The maximum memory usage displayed does not include stack size (which varies) or executable size.

.SH GENERAL
First you type in your algebraic equations in standard infix notation,
then you can solve them by typing in the variable name at the prompt, or
perform operations on them with simple English commands.
Type "help" or "?" for the help command.
If the command is longer than 4 letters, you only need
to type in the first 4 letters.
Most commands operate on the current equation by default.

A command preceded by "!" is taken to
be a shell command and is passed unchanged to the shell via
system(3).  "!" by itself invokes the default shell.
"!" is also the factorial operator.

Documentation is available in HTML format,
see the documentation directory or the official website: http://mathomatic.org

.SH ENVIRONMENT
.TP
.B EDITOR
The EDITOR environment variable specifies which text editor to use for the edit command.

.SH FILES
.TP
.B ~/.mathomaticrc
Optional startup file containing Mathomatic set options.
It should be a text file with one set option per line.
Do not include the word "set".

.SH SEE ALSO
matho-primes(1), matho-pascal(1), matho-sumsq(1)

.SH BUGS
The limit command is partially functional and experimental and sometimes gives wrong answers.
All else should work perfectly, if not,
report it via email to George Gesslein II <georgegesslein@gmail.com>.
Please include version information, which you can find by running
.B mathomatic \-v
or by entering the version command.