File: ch13.html

package info (click to toggle)
genius 1.0.27-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 25,308 kB
  • sloc: ansic: 75,620; xml: 71,565; sh: 4,445; makefile: 1,927; lex: 523; yacc: 298; perl: 54
file content (73 lines) | stat: -rw-r--r-- 8,508 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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 13. Settings</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Genius Manual"><link rel="up" href="index.html" title="Genius Manual"><link rel="prev" href="ch12.html" title="Chapter 12. Example Programs in GEL"><link rel="next" href="ch13s02.html" title="Precision"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 13. Settings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch12.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch13s02.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="genius-prefs"></a>Chapter 13. Settings</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="ch13.html#genius-prefs-output">Output</a></span></dt><dt><span class="sect1"><a href="ch13s02.html">Precision</a></span></dt><dt><span class="sect1"><a href="ch13s03.html">Terminal</a></span></dt><dt><span class="sect1"><a href="ch13s04.html">Memory</a></span></dt></dl></div><p>
      To configure <span class="application">Genius Mathematics Tool</span>, choose
      <span class="guimenu">Settings</span> → <span class="guimenuitem">Preferences</span>.
      There are several basic parameters provided by the calculator in addition
      to the ones provided by the standard library.  These control how the
      calculator behaves.
    </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Changing Settings with GEL</h3><p>
	Many of the settings in Genius are simply global variables, and can
	be evaluated and assigned to in the same way as normal variables. See
	<a class="xref" href="ch05s02.html" title="Using Variables">the section called “Using Variables”</a> about evaluating and assigning
	to variables, and <a class="xref" href="ch11s03.html" title="Parameters">the section called “Parameters”</a> for
	a list of settings that can be modified in this way.
      </p><p>
As an example, you can set the maximum number of digits in a result to 12 by typing:
</p><pre class="programlisting">MaxDigits = 12
</pre><p>
      </p></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="genius-prefs-output"></a>Output</h2></div></div></div><div class="variablelist"><dl class="variablelist"><dt><span class="term"> 
	    <span class="guilabel">Maximum digits to output</span>
      </span></dt><dd><p>The maximum digits in a result (<a class="link" href="ch11s03.html#gel-function-MaxDigits"><code class="function">MaxDigits</code></a>)</p></dd><dt><span class="term"> 
	    <span class="guilabel">Results as floats</span>
      </span></dt><dd><p>If the results should be always printed as floats (<a class="link" href="ch11s03.html#gel-function-ResultsAsFloats"><code class="function">ResultsAsFloats</code></a>)</p></dd><dt><span class="term"> 
	    <span class="guilabel">Floats in scientific notation</span>
      </span></dt><dd><p>If floats should be in scientific notation (<a class="link" href="ch11s03.html#gel-function-ScientificNotation"><code class="function">ScientificNotation</code></a>)</p></dd><dt><span class="term"> 
	    <span class="guilabel">Always print full expressions</span>
      </span></dt><dd><p>Should we print out full expressions for non-numeric return values (longer than a line) (<a class="link" href="ch11s03.html#gel-function-FullExpressions"><code class="function">FullExpressions</code></a>)</p></dd><dt><span class="term"> 
	    <span class="guilabel">Use mixed fractions</span>
      </span></dt><dd><p>If fractions should be printed as mixed fractions such as "1 1/3" rather than "4/3". (<a class="link" href="ch11s03.html#gel-function-MixedFractions"><code class="function">MixedFractions</code></a>)</p></dd><dt><span class="term"> 
	    <span class="guilabel">Display 0.0 when floating point number is less than 10^-x (0=never chop)</span>
      </span></dt><dd><p>How to chop output.  But only when other numbers nearby are large.
	   See the documentation of the parameter
          <a class="link" href="ch11s03.html#gel-function-OutputChopExponent"><code class="function">OutputChopExponent</code></a>. </p></dd><dt><span class="term"> 
            <span class="guilabel">Only chop numbers when another number is greater than 10^-x</span>
      </span></dt><dd><p>When to chop output.  This is set by the parameter <a class="link" href="ch11s03.html#gel-function-OutputChopWhenExponent"><code class="function">OutputChopWhenExponent</code></a>.
	   See the documentation of the parameter
          <a class="link" href="ch11s03.html#gel-function-OutputChopExponent"><code class="function">OutputChopExponent</code></a>. </p></dd><dt><span class="term"> 
	    <span class="guilabel">Remember output settings across sessions</span>
      </span></dt><dd><p>Should the output settings in the <span class="guilabel">Number/Expression output options</span> frame
	      be remembered for next session.  Does not apply to the <span class="guilabel">Error/Info output options</span> frame.</p><p>
		 If unchecked,
	   either the default or any previously saved settings are used each time Genius starts
	   up.  Note that
	   settings are saved at the end of the session, so if you wish to change the defaults
	   check this box, restart <span class="application">Genius Mathematics Tool</span> and then uncheck it again.
	      </p></dd><dt><span class="term"> 
	    <span class="guilabel">Display errors in a dialog</span>
      </span></dt><dd><p>If set the errors will be displayed in a separate dialog, if
	unset the errors will be printed on the console.</p></dd><dt><span class="term"> 
	    <span class="guilabel">Display information messages in a dialog</span>
      </span></dt><dd><p>If set the information messages will be displayed in a separate
	dialog, if unset the information messages will be printed on the
	console.</p></dd><dt><span class="term"> 
	    <span class="guilabel">Maximum errors to display</span>
      </span></dt><dd><p>
	  The maximum number of errors to return on one evaluation
	  (<a class="link" href="ch11s03.html#gel-function-MaxErrors"><code class="function">MaxErrors</code></a>).  If you set this to 0 then
	  all errors are always returned.  Usually if some loop causes
	  many errors, then it is unlikely that you will be able to make
	  sense out of more than a few of these, so seeing a long list
	  of errors is usually not helpful.
	  </p></dd></dl></div><p>
	In addition to these preferences, there are some preferences that can
	only be changed by setting them in the workspace console.  For others
	that may affect the output see <a class="xref" href="ch11s03.html" title="Parameters">the section called “Parameters”</a>.
      </p><div class="variablelist"><dl class="variablelist"><dt><span class="term"> 
	    <code class="function">IntegerOutputBase</code>
      </span></dt><dd><p>The base that will be used to output integers</p></dd><dt><span class="term"> 
	    <code class="function">OutputStyle</code>
      </span></dt><dd><p>A string, can be <code class="literal">"normal"</code>,
<code class="literal">"latex"</code>, <code class="literal">"mathml"</code> or
<code class="literal">"troff"</code> and it will affect how matrices (and perhaps other
stuff) is printed, useful for pasting into documents.  Normal style is the
default human readable printing style of <span class="application">Genius Mathematics Tool</span>.  The other styles are for
typesetting in LaTeX, MathML (XML), or in Troff.</p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch12.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch13s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 12. Example Programs in GEL </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Precision</td></tr></table></div></body></html>