/usr/share/doc/stilts/sun256/sec10.7.1.html is in stilts-doc 3.1.2-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 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Expression evaluation</title>
</head>
<body>
<hr>
<a href="instanceMethods.html">Next</a> <a href="jelAdvanced.html">Previous</a> <a href="jelAdvanced.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="instanceMethods.html">Instance Methods</a><br>
<b>Up: </b><a href="jelAdvanced.html">Advanced Topics</a><br>
<b>Previous: </b><a href="jelAdvanced.html">Advanced Topics</a><br>
<hr>
<h4><a name="sec10.7.1">10.7.1 Expression evaluation</a></h4>
<p>This note provides a bit more detail for Java programmers on what
is going on here; it describes how the use
of functions in STILTS algebraic expressions relates to normal Java
code.
</p>
<p>The expressions which you write are compiled to Java bytecode
when you enter them (if there is a 'compilation error' it will be
reported straight away). The functions listed in the previous subsections
are all the <code>public static</code> methods of the classes which
are made available by default. The classes listed are all in the
package <code>uk.ac.starlink.ttools.func</code>.
However, the public static methods are all imported into an anonymous
namespace for bytecode compilation, so that you write
(<code>sqrt(x,y)</code> and not <code>Maths.sqrt(x,y)</code>.
The same happens to other classes that are imported (which can be
in any package or none) - their public
static methods all go into the anonymous namespace. Thus, method
name clashes are a possibility.
</p>
<p>This cleverness is all made possible by the rather wonderful
<a href="http://www.gnu.org/software/jel/">JEL</a>.
</p>
<hr><a href="instanceMethods.html">Next</a> <a href="jelAdvanced.html">Previous</a> <a href="jelAdvanced.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="instanceMethods.html">Instance Methods</a><br>
<b>Up: </b><a href="jelAdvanced.html">Advanced Topics</a><br>
<b>Previous: </b><a href="jelAdvanced.html">Advanced Topics</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|