File: structEvaluationOptions.html

package info (click to toggle)
libqalculate 0.9.6-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,096 kB
  • ctags: 5,501
  • sloc: cpp: 40,337; sh: 9,010; makefile: 67
file content (105 lines) | stat: -rw-r--r-- 11,575 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libqalculate-0.9.6: EvaluationOptions Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.3 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>EvaluationOptions Struct Reference</h1><!-- doxytag: class=<EvaluationOptions> -->Options for calculation.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;includes.h&gt;</code>
<p>
<a href="structEvaluationOptions-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<EvaluationOptions::approximation> ref=<o0> args=<> -->
<a class="el" href="includes_8h.html#a267">ApproximationMode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o0">approximation</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">How exact the result must be. Default: TRY_EXACT. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<EvaluationOptions::sync_units> ref=<o1> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o1">sync_units</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If units will be synced/converted to allow evaluation (ex. 1 min + 1 s=60 s+ 1 s = 61 s). Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member=<EvaluationOptions::sync_complex_unit_relations> ref=<o2> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o2">sync_complex_unit_relations</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If units with complex/non-linear relations (ex. degress celsius and fahrenheit) will synced/converted. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o3"></a><!-- doxytag: member=<EvaluationOptions::keep_prefixes> ref=<o3> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o3">keep_prefixes</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If unit prefixes in original expression will be kept. Default: false. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o4"></a><!-- doxytag: member=<EvaluationOptions::calculate_variables> ref=<o4> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o4">calculate_variables</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If known variables will be replaced by their value. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o5"></a><!-- doxytag: member=<EvaluationOptions::calculate_functions> ref=<o5> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o5">calculate_functions</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If functions will be calculated. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o6"></a><!-- doxytag: member=<EvaluationOptions::test_comparisons> ref=<o6> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o6">test_comparisons</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If comparisons will be evaluated (ex. 5&gt;2 =&gt; 1). Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o7"></a><!-- doxytag: member=<EvaluationOptions::isolate_x> ref=<o7> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o7">isolate_x</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If a varaible will be isolated to the left side in equations/comparisons (ex. x+y=2 =&gt; x=2-y). Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o8"></a><!-- doxytag: member=<EvaluationOptions::expand> ref=<o8> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o8">expand</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If factors (and bases) containing addition will be expanded (ex. z(x+y)=zx+zy). Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o9"></a><!-- doxytag: member=<EvaluationOptions::reduce_divisions> ref=<o9> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o9">reduce_divisions</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If non-numerical parts of a fraction will be reduced (ex. (5x)/(3xy) =5/(3y) . Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o10"></a><!-- doxytag: member=<EvaluationOptions::allow_complex> ref=<o10> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o10">allow_complex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If complex numbers will be used for evaluation. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o11"></a><!-- doxytag: member=<EvaluationOptions::allow_infinite> ref=<o11> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o11">allow_infinite</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If infinite numbers will be used for evaluation. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o12"></a><!-- doxytag: member=<EvaluationOptions::assume_denominators_nonzero> ref=<o12> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o12">assume_denominators_nonzero</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If simplification will be made easier by assuming that denominators with unknown value not is zero. Default: false. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o13"></a><!-- doxytag: member=<EvaluationOptions::warn_about_denominators_assumed_nonzero> ref=<o13> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o13">warn_about_denominators_assumed_nonzero</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Warn if a denominator with unknown value was assumed non-zero (with assume_denominators_nonzero set to true) to allow simplification. Default: false. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o14"></a><!-- doxytag: member=<EvaluationOptions::split_squares> ref=<o14> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o14">split_squares</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If powers with exponent 1/2 that only have an approximate result will be split to the least base (sqrt(8) = 2 * sqrt(2)). Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o15"></a><!-- doxytag: member=<EvaluationOptions::keep_zero_units> ref=<o15> args=<> -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o15">keep_zero_units</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If units with zero quantity will be preserved. Default: true. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o16"></a><!-- doxytag: member=<EvaluationOptions::auto_post_conversion> ref=<o16> args=<> -->
<a class="el" href="includes_8h.html#a269">AutoPostConversion</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o16">auto_post_conversion</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If and how units will be automatically converted. Does not affect syncing of units. Default: POST_CONVERSION_NONE. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o17"></a><!-- doxytag: member=<EvaluationOptions::structuring> ref=<o17> args=<> -->
<a class="el" href="includes_8h.html#a268">StructuringMode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o17">structuring</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If the evaluation result will be simplified or factorized. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o18"></a><!-- doxytag: member=<EvaluationOptions::parse_options> ref=<o18> args=<> -->
<a class="el" href="structParseOptions.html">ParseOptions</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o18">parse_options</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Options for parsing of expression. Default: default_parse_options. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o19"></a><!-- doxytag: member=<EvaluationOptions::isolate_var> ref=<o19> args=<> -->
const <a class="el" href="classMathStructure.html">MathStructure</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEvaluationOptions.html#o19">isolate_var</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If set will decide which variable to isolate in an equation. Default: NULL. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Options for calculation. 
<p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>libqalculate/<a class="el" href="includes_8h.html">includes.h</a></ul>
<hr size="1"><address style="align: right;"><small>
Generated on 17 Jun 2007 for libqalculate-0.9.6 by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.3</small></address>
</body>
</html>