/usr/share/doc/mathgl/mathgl_en/mathgl_en_52.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 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | <!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: 6.1 Public variables</title>
<meta name="description" content="MathGL 2.1.2: 6.1 Public variables">
<meta name="keywords" content="MathGL 2.1.2: 6.1 Public variables">
<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="Public-variables"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_53.html#Data-constructor" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_65.html#MGL-scripts" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </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="Public-variables-1"></a>
<h2 class="section">6.1 Public variables</h2>
<dl>
<dt><a name="index-a-of-mglData"></a><u>Variable of mglData:</u> <code>mreal *</code> <b>a</b></dt>
<dt><a name="index-a-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>dual *</code> <b>a</b></dt>
<dd><p>Data array itself. The flat data representation is used. For example, matrix [nx x ny] is presented as flat (1d-) array with length nx*ny. The element with indexes {i, j, k} is a[i+nx*j+nx*ny*k] (indexes are zero based).
</p></dd></dl>
<dl>
<dt><a name="index-nx-of-mglData"></a><u>Variable of mglData:</u> <code>long</code> <b>nx</b></dt>
<dt><a name="index-nx-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>long</code> <b>nx</b></dt>
<dd><p>Number of points in 1st dimensions (’x’ dimension).
</p></dd></dl>
<dl>
<dt><a name="index-ny-of-mglData"></a><u>Variable of mglData:</u> <code>long</code> <b>ny</b></dt>
<dt><a name="index-ny-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>long</code> <b>ny</b></dt>
<dd><p>Number of points in 2nd dimensions (’y’ dimension).
</p></dd></dl>
<dl>
<dt><a name="index-nz-of-mglData"></a><u>Variable of mglData:</u> <code>long</code> <b>nz</b></dt>
<dt><a name="index-nz-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>long</code> <b>nz</b></dt>
<dd><p>Number of points in 3d dimensions (’z’ dimension).
</p></dd></dl>
<dl>
<dt><a name="index-id-of-mglData"></a><u>Variable of mglData:</u> <code>std::string</code> <b>id</b></dt>
<dt><a name="index-id-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>std::string</code> <b>id</b></dt>
<dd><p>Names of column (or slice if nz>1) – one character per column.
</p></dd></dl>
<dl>
<dt><a name="index-link-of-mglData"></a><u>Variable of mglData:</u> <code>bool</code> <b>link</b></dt>
<dt><a name="index-link-of-mglDataC"></a><u>Variable of mglDataC:</u> <code>bool</code> <b>link</b></dt>
<dd><p>Flag to use external data, i.e. don’t delete it.
</p></dd></dl>
<dl>
<dt><a name="index-GetVal"></a><u>Method on <code>mglData</code>:</u> <code>mreal</code> <b>GetVal</b><i> (<code>long</code> i)</i></dt>
<dt><a name="index-GetVal-1"></a><u>Method on <code>mglDataC</code>:</u> <code>mreal</code> <b>GetVal</b><i> (<code>long</code> i)</i></dt>
<dt><a name="index-SetVal"></a><u>Method on <code>mglData</code>:</u> <code>void</code> <b>SetVal</b><i> (<code>mreal</code> val, <code>long</code> i)</i></dt>
<dt><a name="index-SetVal-1"></a><u>Method on <code>mglDataC</code>:</u> <code>void</code> <b>SetVal</b><i> (<code>mreal</code> val, <code>long</code> i)</i></dt>
<dd><p>Gets or sets the value in by "flat" index <var>i</var> without border checking. Index <var>i</var> should be in range [0, nx*ny*nz-1].
</p></dd></dl>
<dl>
<dt><a name="index-GetNx"></a><u>Method on <code>mglData</code>:</u> <code>long</code> <b>GetNx</b><i> ()</i></dt>
<dt><a name="index-GetNx-1"></a><u>Method on <code>mglDataC</code>:</u> <code>long</code> <b>GetNx</b><i> ()</i></dt>
<dt><a name="index-GetNy"></a><u>Method on <code>mglData</code>:</u> <code>long</code> <b>GetNy</b><i> ()</i></dt>
<dt><a name="index-GetNy-1"></a><u>Method on <code>mglDataC</code>:</u> <code>long</code> <b>GetNy</b><i> ()</i></dt>
<dt><a name="index-GetNz"></a><u>Method on <code>mglData</code>:</u> <code>long</code> <b>GetNz</b><i> ()</i></dt>
<dt><a name="index-GetNz-1"></a><u>Method on <code>mglDataC</code>:</u> <code>long</code> <b>GetNz</b><i> ()</i></dt>
<dt><a name="index-mgl_005fdata_005fget_005fnx"></a><u>C function:</u> <code>long</code> <b>mgl_data_get_nx</b><i> (<code>HCDT</code> dat)</i></dt>
<dt><a name="index-mgl_005fdata_005fget_005fny"></a><u>C function:</u> <code>long</code> <b>mgl_data_get_ny</b><i> (<code>HCDT</code> dat)</i></dt>
<dt><a name="index-mgl_005fdata_005fget_005fnz"></a><u>C function:</u> <code>long</code> <b>mgl_data_get_nz</b><i> (<code>HCDT</code> dat)</i></dt>
<dd><p>Gets the x-, y-, z-size of the data.
</p></dd></dl>
<dl>
<dt><a name="index-mgl_005fdata_005fget_005fvalue"></a><u>C function:</u> <code>mreal</code> <b>mgl_data_get_value</b><i> (<code>HCDT</code> dat, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dt><a name="index-mgl_005fdatac_005fget_005fvalue"></a><u>C function:</u> <code>dual</code> <b>mgl_datac_get_value</b><i> (<code>HCDT</code> dat, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dt><a name="index-mgl_005fdata_005fvalue"></a><u>C function:</u> <code>mreal *</code> <b>mgl_data_value</b><i> (<code>HMDT</code> dat, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dt><a name="index-mgl_005fdatac_005fvalue"></a><u>C function:</u> <code>dual *</code> <b>mgl_datac_value</b><i> (<code>HADT</code> dat, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dt><a name="index-mgl_005fdata_005fset_005fvalue"></a><u>C function:</u> <code>void</code> <b>mgl_data_set_value</b><i> (<code>HMDT</code> dat, <code>mreal</code> v, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dt><a name="index-mgl_005fdatac_005fset_005fvalue"></a><u>C function:</u> <code>void</code> <b>mgl_datac_set_value</b><i> (<code>HADT</code> dat, <code>dual</code> v, <code>int</code> i, <code>int</code> j, <code>int</code> k)</i></dt>
<dd><p>Gets or sets the value in specified cell of the data with border checking.
</p></dd></dl>
<dl>
<dt><a name="index-mgl_005fdata_005fdata"></a><u>C function:</u> <code>const mreal *</code> <b>mgl_data_data</b><i> (<code>HCDT</code> dat)</i></dt>
<dt><a name="index-mgl_005fdatac_005fdata"></a><u>C function:</u> <code>const dual *</code> <b>mgl_datac_data</b><i> (<code>HCDT</code> dat)</i></dt>
<dd><p>Returns pointer to internal data array.
</p></dd></dl>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_53.html#Data-constructor" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_51.html#Data-processing" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_65.html#MGL-scripts" title="Next chapter"> >> </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>
|