This file is indexed.

/usr/share/doc/libstarlink-ast-doc/node186.html is in libstarlink-ast-doc 8.6.2+dfsg-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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Registering a Transformation Function</TITLE>
<META NAME="description" CONTENT="Registering a Transformation Function">
<META NAME="keywords" CONTENT="sun211">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="sun211.css">

<LINK REL="next" HREF="node187.html">
<LINK REL="previous" HREF="node185.html">
<LINK REL="up" HREF="node181.html">
<LINK REL="next" HREF="node187.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html2386"
  HREF="node187.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html2384"
  HREF="node181.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html2378"
  HREF="node185.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html2387"
  HREF="node187.html">Creating an IntraMap</A>
<B> Up:</B> <A NAME="tex2html2385"
  HREF="node181.html">Creating Your Own Private</A>
<B> Previous:</B> <A NAME="tex2html2379"
  HREF="node185.html">Writing a Transformation Function</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION000205000000000000000"></A><A NAME="ss:registeringintramaps"></A>
<BR>
Registering a Transformation Function
</H2>

<P>
Having written your coordinate transformation function, the next step
is to register it with AST. Registration is performed using
astIntraRegastIntraReg, as follows:

<P>
<SMALL CLASS="SMALL">
<BR>
<IMG
 WIDTH="674" HEIGHT="206" ALIGN="BOTTOM" BORDER="0"
 SRC="img280.png"
 ALT="\begin{terminalv}
void SqrTran( AstMapping *, int, int, const double *[], int, i...
...aReg( ''SqrTran'', 2, 2, SqrTran, 0, purpose, author, contact );
\end{terminalv}">
<BR>
</SMALL>
<P>
Note that you should also provide a function prototype to describe the
transformation function (the implementation of the function itself
would suffice, of course).

<P>
The first argument to astIntraReg is a name by which the
transformation function will be known. This will be used when we come
to create an IntraMapIntraMap and is case sensitive. We recommend that you use
the actual function name here and make this sufficiently unusual that
it is unlikely to clash with any other functions in most people's
software.

<P>
The next two arguments specify the number of input and output
coordinates which the transformation function will handle. These
correspond with the NinNin and NoutNout attributes of the IntraMap we will
create. Here, we have set them both to 2, which means that we will
only be able to create IntraMaps with 2 input and 2 output coordinates
(despite the fact that the transformation function can actually handle
other dimensionalities). We will see later
(&#167;<A HREF="node189.html#ss:variableintramapcoordinates">20.8</A>) how to remove this
restriction.

<P>
The fourth argument should contain a set of flags which describe the
transformation function in a little more detail. We will return to
this shortly (&#167;<A HREF="node188.html#ss:restrictedintramaps">20.7</A> &amp;
&#167;<A HREF="node191.html#ss:simplifyingintramaps">20.10</A>). For now, we supply a value of zero.

<P>
The remaining arguments are character strings which document the
transformation function, mainly for the benefit of anyone who is
unfortunate enough to encounter a reference to it in their data which
they cannot interpret. As explained above
(&#167;<A HREF="node184.html#ss:intramaplimitations">20.3</A>), you should try and avoid this, but
accidents will happen, so you should always provide strings containing
the following:

<P>

<OL>
<LI>A short description of what the transformation function is for.
</LI>
<LI>The name of the author.
</LI>
<LI>Contact details, such as an e-mail or WWW address.
</LI>
</OL>

<P>
The idea is that anyone finding an IntraMap in their data, but lacking
the necessary transformation function, should be able to contact the
author and make a sensible enquiry in order to obtain it. If you
expect many enquiries, you may like to set up a World Wide Web page
and use that instead (in the example above, we use the WWW address of
the relevant part of this document).

<P>

<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html2386"
  HREF="node187.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html2384"
  HREF="node181.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html2378"
  HREF="node185.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html2387"
  HREF="node187.html">Creating an IntraMap</A>
<B> Up:</B> <A NAME="tex2html2385"
  HREF="node181.html">Creating Your Own Private</A>
<B> Previous:</B> <A NAME="tex2html2379"
  HREF="node185.html">Writing a Transformation Function</A></DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>