This file is indexed.

/usr/share/doc/mathgl/mathgl_en/mathgl_en_26.html is in mathgl-doc-en 2.1.3.1-4ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- This manual is for MathGL (version 2.1.2), a collection of classes and routines for scientific plotting. Please report any errors in this manual to mathgl.abalakin@gmail.org.

Copyright C 2008-2012 Alexey A. Balakin.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.  A copy of the license is included in the section entitled "GNU
Free Documentation License."


 -->
<!-- Created on December 22, 2013 by texi2html 1.82
texi2html was written by: 
            Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>MathGL 2.1.2: 3.6 Textual formulas</title>

<meta name="description" content="MathGL 2.1.2: 3.6 Textual formulas">
<meta name="keywords" content="MathGL 2.1.2: 3.6 Textual formulas">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<a name="Textual-formulas"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_25.html#Font-styles" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_27.html#Command-options" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_88.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Textual-formulas-1"></a>
<h2 class="section">3.6 Textual formulas</h2>

<a name="index-Textual-formulas"></a>

<p>MathGL have the fast variant of textual formula evaluation
(see section <a href="mathgl_en_63.html#Evaluate-expression">Evaluate expression</a>)
. There are a lot of functions and operators available. The operators are: &lsquo;<samp>+</samp>&rsquo; &ndash; addition, &lsquo;<samp>-</samp>&rsquo; &ndash; subtraction, &lsquo;<samp>*</samp>&rsquo; &ndash; multiplication, &lsquo;<samp>/</samp>&rsquo; &ndash; division, &lsquo;<samp>^</samp>&rsquo; &ndash; integer power. Also there are logical &ldquo;operators&rdquo;: &lsquo;<samp>&lt;</samp>&rsquo; &ndash; true if x&lt;y, &lsquo;<samp>&gt;</samp>&rsquo; &ndash; true if x&gt;y, &lsquo;<samp>=</samp>&rsquo; &ndash; true if x=y, &lsquo;<samp>&amp;</samp>&rsquo; &ndash; true if x and y both nonzero, &lsquo;<samp>|</samp>&rsquo; &ndash; true if x or y nonzero. These logical operators have lowest priority and return 1 if true or 0 if false.
</p>
<p>The basic functions are: &lsquo;<samp>sqrt(x)</samp>&rsquo; &ndash; square root of <var>x</var>, &lsquo;<samp>pow(x,y)</samp>&rsquo; &ndash; power <var>x</var> in <var>y</var>, &lsquo;<samp>ln(x)</samp>&rsquo; &ndash; natural logarithm of <var>x</var>, &lsquo;<samp>lg(x)</samp>&rsquo; &ndash; decimal logarithm of <var>x</var>, &lsquo;<samp>log(a,x)</samp>&rsquo; &ndash; logarithm base <var>a</var> of <var>x</var>, &lsquo;<samp>abs(x)</samp>&rsquo; &ndash; absolute value of <var>x</var>, &lsquo;<samp>sign(x)</samp>&rsquo; &ndash; sign of <var>x</var>, &lsquo;<samp>mod(x,y)</samp>&rsquo; &ndash; x modulo y, &lsquo;<samp>step(x)</samp>&rsquo; &ndash; step function, &lsquo;<samp>int(x)</samp>&rsquo; &ndash; integer part of <var>x</var>, &lsquo;<samp>rnd</samp>&rsquo; &ndash; random number, &lsquo;<samp>pi</samp>&rsquo; &ndash; number
&pi; = 3.1415926&hellip;</p>
<p>Trigonometric functions are: &lsquo;<samp>sin(x)</samp>&rsquo;, &lsquo;<samp>cos(x)</samp>&rsquo;, &lsquo;<samp>tan(x)</samp>&rsquo; (or &lsquo;<samp>tg(x)</samp>&rsquo;). Inverse trigonometric functions are: &lsquo;<samp>asin(x)</samp>&rsquo;, &lsquo;<samp>acos(x)</samp>&rsquo;, &lsquo;<samp>atan(x)</samp>&rsquo;. Hyperbolic functions are: &lsquo;<samp>sinh(x)</samp>&rsquo; (or &lsquo;<samp>sh(x)</samp>&rsquo;), &lsquo;<samp>cosh(x)</samp>&rsquo; (or &lsquo;<samp>ch(x)</samp>&rsquo;), &lsquo;<samp>tanh(x)</samp>&rsquo; (or &lsquo;<samp>th(x)</samp>&rsquo;). Inverse hyperbolic functions are: &lsquo;<samp>asinh(x)</samp>&rsquo;, &lsquo;<samp>acosh(x)</samp>&rsquo;, &lsquo;<samp>atanh(x)</samp>&rsquo;.
</p>
<p>There are a set of special functions: &lsquo;<samp>gamma(x)</samp>&rsquo; &ndash; Gamma function &Gamma;(x) = &int;<sub>0</sub><sup>&infin;</sup> t<sup>x-1</sup> exp(-t) dt, &lsquo;<samp>psi(x)</samp>&rsquo; &ndash; digamma function &psi;(x) = &Gamma;&prime;(x)/&Gamma;(x) for x&ne;0, &lsquo;<samp>ai(x)</samp>&rsquo; &ndash; Airy function Ai(x), &lsquo;<samp>bi(x)</samp>&rsquo; &ndash; Airy function Bi(x), &lsquo;<samp>cl(x)</samp>&rsquo; &ndash; Clausen function, &lsquo;<samp>li2(x)</samp>&rsquo; (or &lsquo;<samp>dilog(x)</samp>&rsquo;) &ndash; dilogarithm Li<sub>2</sub>(x) = -&real;&int;<sub>0</sub><sup>x</sup>ds log(1-s)/s, &lsquo;<samp>sinc(x)</samp>&rsquo; &ndash; compute sinc(x) = sin(&pi;x)/(&pi;x) for any value of x, &lsquo;<samp>zeta(x)</samp>&rsquo; &ndash; Riemann zeta function &zeta;(s) = &sum;<sub>k=1</sub><sup>&infin;</sup>k<sup>-s</sup> for arbitrary s&ne;1, &lsquo;<samp>eta(x)</samp>&rsquo; &ndash; eta function &eta;(s) = (1 - 2<sup>1-s</sup>)&zeta;(s) for arbitrary s, &lsquo;<samp>lp(l,x)</samp>&rsquo; &ndash; Legendre polynomial P<sub>l</sub>(x), (|x|&le;1, l&ge;0), &lsquo;<samp>w0(x)</samp>&rsquo; &ndash; principal branch of the Lambert W function, &lsquo;<samp>w1(x)</samp>&rsquo; &ndash; principal branch of the Lambert W function. Function W(x) is defined to be solution of the equation: W exp(W) = x. </p>

<p>The exponent integrals are: &lsquo;<samp>ci(x)</samp>&rsquo; &ndash; Cosine integral Ci(x) = &int;<sub>0</sub><sup>x</sup>dt cos(t)/t, &lsquo;<samp>si(x)</samp>&rsquo; &ndash; Sine integral Si(x) = &int;<sub>0</sub><sup>x</sup>dt sin(t)/t, &lsquo;<samp>erf(x)</samp>&rsquo; &ndash; error function erf(x) = (2/&radic;&pi;) &int;<sub>0</sub><sup>x</sup>dt exp(-t<sup>2</sup>) , &lsquo;<samp>ei(x)</samp>&rsquo; &ndash; exponential integral Ei(x) = -PV(&int;<sub>-x</sub><sup>&infin;</sup>dt exp(-t)/t) (where PV denotes the principal value of the integral), &lsquo;<samp>e1(x)</samp>&rsquo; &ndash; exponential integral E<sub>1</sub>(x) = &real;&int;<sub>1</sub><sup>&infin;</sup>dt exp(-xt)/t, &lsquo;<samp>e2(x)</samp>&rsquo; &ndash; exponential integral E<sub>2</sub>(x) = &real;&int;<sub>1</sub>&infin;</sup>dt exp(-xt)/t<sup>2</sup>, &lsquo;<samp>ei3(x)</samp>&rsquo; &ndash; exponential integral Ei<sub>3</sub>(x) = &int;<sub>0</sub><sup>x</sup>dt exp(-t<sup>3</sup>) for x&ge;0. </p>

<p>Bessel functions are: &lsquo;<samp>j(nu,x)</samp>&rsquo; &ndash; regular cylindrical Bessel function of fractional order <em>nu</em>, &lsquo;<samp>y(nu,x)</samp>&rsquo; &ndash; irregular cylindrical Bessel function of fractional order <em>nu</em>, &lsquo;<samp>i(nu,x)</samp>&rsquo; &ndash; regular modified Bessel function of fractional order <em>nu</em>, &lsquo;<samp>k(nu,x)</samp>&rsquo; &ndash; irregular modified Bessel function of fractional order <em>nu</em>. </p>

<p>Elliptic integrals are: &lsquo;<samp>ee(k)</samp>&rsquo; &ndash; complete elliptic integral is denoted by E(k) = E(&pi;/2,k), &lsquo;<samp>ek(k)</samp>&rsquo; &ndash; complete elliptic integral is denoted by K(k) = F(&pi;/2,k), &lsquo;<samp>e(phi,k)</samp>&rsquo; &ndash; elliptic integral E(&phi;,k) = &int;<sub>0</sub><sup>&phi;</sup>dt &radic;(1 - k<sup>2</sup>sin<sup>2</sup>(t)), &lsquo;<samp>f(phi,k)</samp>&rsquo; &ndash; elliptic integral F(&phi;,k) = &int;<sub>0</sub><sup>&phi;</sup>dt 1/&radic;(1 - k<sup>2</sup>sin<sup>2</sup>(t))</p>
<p>Jacobi elliptic functions are: &lsquo;<samp>sn(u,m)</samp>&rsquo;, &lsquo;<samp>cn(u,m)</samp>&rsquo;, &lsquo;<samp>dn(u,m)</samp>&rsquo;, &lsquo;<samp>sc(u,m)</samp>&rsquo;, &lsquo;<samp>sd(u,m)</samp>&rsquo;, &lsquo;<samp>ns(u,m)</samp>&rsquo;, &lsquo;<samp>cs(u,m)</samp>&rsquo;, &lsquo;<samp>cd(u,m)</samp>&rsquo;, &lsquo;<samp>nc(u,m)</samp>&rsquo;, &lsquo;<samp>ds(u,m)</samp>&rsquo;, &lsquo;<samp>dc(u,m)</samp>&rsquo;, &lsquo;<samp>nd(u,m)</samp>&rsquo;.
</p>
<p>Note, some of these functions are unavailable if MathGL was compiled without GSL support.
</p>
<p>There is no difference between lower or upper case in formulas. If argument value lie outside the range of function definition then function returns NaN.
</p>

<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_25.html#Font-styles" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_27.html#Command-options" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Next chapter"> &gt;&gt; </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated by <em>Build Daemon user</em> on <em>December 22, 2013</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
 </font>
 <br>

</p>
</body>
</html>