This file is indexed.

/usr/share/doc/yacas-doc/html/refprogchapter6.html is in yacas-doc 1.3.3-2.

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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<html>
<head>
  <title>Generic objects</title>
  <link rel="stylesheet" href="yacas.css" TYPE="text/css" MEDIA="screen">
</head>
<body>
<a name="c6">

</a>
(directly go to documentation on : <a href="refprogchapter6.html#IsGeneric" target='Chapters' title="check for generic object">IsGeneric</a>, <a href="refprogchapter6.html#GenericTypeName" target='Chapters' title="get type name">GenericTypeName</a>, <a href="refprogchapter6.html#Array'Create" target='Chapters' title="create array">Array'Create</a>, <a href="refprogchapter6.html#Array'Size" target='Chapters' title="get array size">Array'Size</a>, <a href="refprogchapter6.html#Array'Get" target='Chapters' title="fetch array element">Array'Get</a>, <a href="refprogchapter6.html#Array'Set" target='Chapters' title="set array element">Array'Set</a>, <a href="refprogchapter6.html#Array'CreateFromList" target='Chapters' title="convert list to array">Array'CreateFromList</a>, <a href="refprogchapter6.html#Array'ToList" target='Chapters' title="convert array to list">Array'ToList</a>.
)<h1>
6. Generic objects
</h1>
Generic objects are objects that are implemented in C++, but
can be accessed through the Yacas interpreter.

<p> </p>
<center><table>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#IsGeneric" target='Chapters' title="check for generic object">IsGeneric</a></td>
<td>check for generic object</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#GenericTypeName" target='Chapters' title="get type name">GenericTypeName</a></td>
<td>get type name</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'Create" target='Chapters' title="create array">Array'Create</a></td>
<td>create array</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'Size" target='Chapters' title="get array size">Array'Size</a></td>
<td>get array size</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'Get" target='Chapters' title="fetch array element">Array'Get</a></td>
<td>fetch array element</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'Set" target='Chapters' title="set array element">Array'Set</a></td>
<td>set array element</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'CreateFromList" target='Chapters' title="convert list to array">Array'CreateFromList</a></td>
<td>convert list to array</td>
</tr>
<tr BGCOLOR=#E0E0E0>
<td><a href="refprogchapter6.html#Array'ToList" target='Chapters' title="convert array to list">Array'ToList</a></td>
<td>convert array to list</td>
</tr>
</table></center>

<p>

<a name="IsGeneric">

</a>
<a name="isgeneric">

</a>
<h3>
<hr>IsGeneric -- check for generic object
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
IsGeneric(object)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Returns <b><tt>True</tt></b> if an object is of a generic object type.


<p>

<a name="GenericTypeName">

</a>
<a name="generictypename">

</a>
<h3>
<hr>GenericTypeName -- get type name
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
GenericTypeName(object)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Returns a string representation of
the name of a generic object.


<p>
EG


<p>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
In&gt; GenericTypeName(Array'Create(10,1))
Out&gt; "Array";
</pre></tr>
</table>


<p>

<a name="Array'Create">

</a>
<a name="array'create">

</a>
<h3>
<hr>Array'Create -- create array
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'Create(size,init)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Creates an array with <b><tt>size</tt></b> elements, all initialized to the
value <b><tt>init</tt></b>.


<p>

<a name="Array'Size">

</a>
<a name="array'size">

</a>
<h3>
<hr>Array'Size -- get array size
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'Size(array)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Returns the size of an array (number of elements in the array).


<p>

<a name="Array'Get">

</a>
<a name="array'get">

</a>
<h3>
<hr>Array'Get -- fetch array element
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'Get(array,index)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Returns the element at position index in the array passed. Arrays are treated
as base-one, so <b><tt>index</tt></b> set to 1 would return the first element.


<p>
Arrays can also be accessed through the <b><tt>[]</tt></b> operators. So
<b><tt>array[index]</tt></b> would return the same as <b><tt>Array'Get(array, index)</tt></b>.


<p>

<a name="Array'Set">

</a>
<a name="array'set">

</a>
<h3>
<hr>Array'Set -- set array element
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'Set(array,index,element)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Sets the element at position index in the array passed to the value
passed in as argument to element. Arrays are treated
as base-one, so <b><tt>index</tt></b> set to 1 would set first element.


<p>
Arrays can also be accessed through the <b><tt>[]</tt></b> operators. So
<b><tt>array[index] := element</tt></b> would do the same as <b><tt>Array'Set(array, index,element)</tt></b>.


<p>

<a name="Array'CreateFromList">

</a>
<a name="array'createfromlist">

</a>
<h3>
<hr>Array'CreateFromList -- convert list to array
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'CreateFromList(list)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Creates an array from the contents of the list passed in.


<p>

<a name="Array'ToList">

</a>
<a name="array'tolist">

</a>
<h3>
<hr>Array'ToList -- convert array to list
</h3>
<h5 align=right>Internal function</h5><h5>
Calling format:
</h5>
<table cellpadding="0" width="100%">
<tr><td width=100% bgcolor="#DDDDEE"><pre>
Array'ToList(array)
</pre></tr>
</table>


<p>

<h5>
Description:
</h5>
Creates a list from the contents of the array passed in.


<p>


<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2425144-1";
urchinTracker();
</script>
</body>

</html>