This file is indexed.

/usr/share/elmerpost/help/matc/node1.html is in elmer-common 6.1.0.svn.5396.dfsg-2ubuntu1.

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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-d (Mar 10, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>MATC Variables</TITLE>
<META NAME="description" CONTENT="MATC Variables">
<META NAME="keywords" CONTENT="kirja">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="kirja.css">
</HEAD>
<BODY LANG="EN">
 <A NAME="tex2html64" HREF="node2.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="lh-figs/next_motif.gif"></A> <A NAME="tex2html62" HREF="kirja.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="lh-figs/up_motif.gif"></A> <A NAME="tex2html56" HREF="kirja.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="lh-figs/previous_motif.gif"></A>   <BR>
<B> Next:</B> <A NAME="tex2html65" HREF="node2.html">MATC general flow control </A>
<B>Up:</B> <A NAME="tex2html63" HREF="kirja.html">MATC Matrix Language</A>
<B> Previous:</B> <A NAME="tex2html57" HREF="kirja.html">MATC Matrix Language</A>
<BR> <P>
<H1><A NAME="SECTION00100000000000000000">MATC Variables</A></H1>
<P>
There are two types of variables in MATC: matrices and strings. Both are
actually stored the same way in a double precision array, so that storing
large arrays of strings is wasteful sizewise.
<P>
A variable is created by assigning value to it:
<P> <IMG WIDTH=310 HEIGHT=14 ALIGN=BOTTOM ALT="equation5" SRC="img1.gif"  > <P>
The above statement creates a  <IMG WIDTH=34 HEIGHT=20 ALIGN=MIDDLE ALT="tex2html_wrap_inline163" SRC="img2.gif"  >  matrix whose name is <I>x</I>.
<P>
The statement
<P> <IMG WIDTH=500 HEIGHT=12 ALIGN=BOTTOM ALT="equation7" SRC="img3.gif"  > <P>
creates a  <IMG WIDTH=34 HEIGHT=20 ALIGN=MIDDLE ALT="tex2html_wrap_inline167" SRC="img4.gif"  >  string variable <I>k</I>. That is, string variables are created
with enclosed in ''''-marks.
<P>
Variables can be indexed by two row vectors. The statement
<P> <IMG WIDTH=500 HEIGHT=15 ALIGN=BOTTOM ALT="equation9" SRC="img5.gif"  > <P>
reverses the order of the first six elements of the first row of a variable called <I>x</I>.
Indexing thus begins from zero.
<P>
Yet one example of creating a variable (or affecting its values) is
<P> <IMG WIDTH=500 HEIGHT=15 ALIGN=BOTTOM ALT="equation11" SRC="img6.gif"  > <P>
Variable <I>x</I> will be a  <IMG WIDTH=42 HEIGHT=20 ALIGN=MIDDLE ALT="tex2html_wrap_inline175" SRC="img7.gif"  >  matrix, if not previously created
and bigger. It's elements are 
<PRE>1 2 3 4 1 2 3 4 1 2.</PRE>
The example shows that you don't have to give the row index if it's zero,
and that when scanning for values for elements, the values end,
they are repeated from the beginning.
<P>
Size of the variables are dynamic. If variable <I>x</I> is non-existent the statement
<P> <IMG WIDTH=500 HEIGHT=15 ALIGN=BOTTOM ALT="equation13" SRC="img8.gif"  > <P>
creates a new matrix whose size is  <IMG WIDTH=50 HEIGHT=20 ALIGN=MIDDLE ALT="tex2html_wrap_inline179" SRC="img9.gif"  >  and is zero except for the last element
whose value is 1.
<P>
Another way of indexing a matrix is logical expression whose size is the same as the
matrix which is being indexed. The statement
<P> <IMG WIDTH=500 HEIGHT=15 ALIGN=BOTTOM ALT="equation15" SRC="img10.gif"  > <P>
sets the values of matrix <I>x</I> which are less than 0.05 to the value 0.05.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Juha Ruokolainen <BR>
Fri Feb 14 15:59:30 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>