diff options
Diffstat (limited to 'src/slalib/sun67.htx/node132.html')
-rw-r--r-- | src/slalib/sun67.htx/node132.html | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/src/slalib/sun67.htx/node132.html b/src/slalib/sun67.htx/node132.html new file mode 100644 index 0000000..5084d3d --- /dev/null +++ b/src/slalib/sun67.htx/node132.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<!--Converted with LaTeX2HTML 97.1 (release) (July 13th, 1997) + by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds +* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan +* with significant contributions from: + Jens Lippman, Marek Rouchal, Martin Wilck and others --> +<HTML> +<HEAD> +<TITLE>SLA_MXV - Apply 3D Rotation</TITLE> +<META NAME="description" CONTENT="SLA_MXV - Apply 3D Rotation"> +<META NAME="keywords" CONTENT="sun67"> +<META NAME="resource-type" CONTENT="document"> +<META NAME="distribution" CONTENT="global"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso_8859_1"> +<LINK REL="STYLESHEET" HREF="sun67.css"> +<LINK REL="next" HREF="node133.html"> +<LINK REL="previous" HREF="node131.html"> +<LINK REL="up" HREF="node13.html"> +<LINK REL="next" HREF="node133.html"> +</HEAD> +<BODY > +<BR> <HR> +<A NAME="tex2html1746" HREF="node133.html"> +<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> +<A NAME="tex2html1744" HREF="node13.html"> +<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> +<A NAME="tex2html1738" HREF="node131.html"> +<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> <A HREF="sun67.html#stardoccontents"><IMG ALIGN="BOTTOM" BORDER="0" + SRC="contents_motif.gif"></A> +<BR> +<B> Next:</B> <A NAME="tex2html1747" HREF="node133.html">SLA_NUT - Nutation Matrix</A> +<BR> +<B>Up:</B> <A NAME="tex2html1745" HREF="node13.html">SUBPROGRAM SPECIFICATIONS</A> +<BR> +<B> Previous:</B> <A NAME="tex2html1739" HREF="node131.html">SLA_MXM - Multiply Matrices</A> +<BR> <HR> <P> +<P><!--End of Navigation Panel--> +<H2><A NAME="SECTION0004119000000000000000">SLA_MXV - Apply 3D Rotation</A> +<A NAME="xref_SLA_MXV"> </A><A NAME="SLA_MXV"> </A> +</H2> + <DL> +<DT><STRONG>ACTION:</STRONG> +<DD>Multiply a 3-vector by a rotation matrix (single precision). +<DT><STRONG>CALL:</STRONG> +<DD><TT>CALL sla_MXV (RM, VA, VB)</TT> +<P> </DL> +<P> <DL> +<DT><STRONG>GIVEN:</STRONG> +<DD> +<BR> +<TABLE CELLPADDING=3> +<TR VALIGN="TOP"><TD ALIGN="LEFT"><EM>RM</EM></TD> +<TH ALIGN="LEFT"><B>R(3,3)</B></TH> +<TD ALIGN="LEFT" NOWRAP>rotation matrix</TD> +</TR> +<TR VALIGN="TOP"><TD ALIGN="LEFT"><EM>VA</EM></TD> +<TD ALIGN="LEFT"><B>R(3)</B></TD> +<TD ALIGN="LEFT" NOWRAP>vector to be rotated</TD> +</TR> +</TABLE></DL> +<P> <DL> +<DT><STRONG>RETURNED:</STRONG> +<DD> +<BR> +<TABLE CELLPADDING=3> +<TR VALIGN="TOP"><TD ALIGN="LEFT"><EM>VB</EM></TD> +<TH ALIGN="LEFT"><B>R(3)</B></TH> +<TD ALIGN="LEFT" NOWRAP>result vector</TD> +</TR> +</TABLE></DL> +<P> <DL> +<DT><STRONG>NOTES:</STRONG> +<DD><DL COMPACT> +<DT>1. +<DD>This routine performs the operation: +<BLOCKQUOTE><B>b</B> = <B>M</B><IMG WIDTH="7" HEIGHT="14" ALIGN="BOTTOM" BORDER="0" + SRC="img72.gif" + ALT="$\cdot$"><B>a</B> +</BLOCKQUOTE> + where <B>a</B> and <B>b</B> are the 3-vectors VA and VB + respectively, and <B>M</B> is the <IMG WIDTH="39" HEIGHT="25" ALIGN="MIDDLE" BORDER="0" + SRC="img18.gif" + ALT="$3\times3$"> matrix RM. + <DT>2. +<DD>The main function of this routine is apply a + rotation; under these circumstances, <IMG WIDTH="20" HEIGHT="13" ALIGN="BOTTOM" BORDER="0" + SRC="img122.gif" + ALT="${\bf M}$"> is a + <I>proper real orthogonal</I> matrix. + <DT>3. +<DD>To comply with the ANSI Fortran 77 standard, VA and VB must + <B>not</B> be the same array. The routine is, in fact, coded + so as to work properly on the VAX and many other systems even + if this rule is violated, something that is <B>not</B>, however, + recommended. + </DL></DL> +<BR> <HR> +<A NAME="tex2html1746" HREF="node133.html"> +<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> +<A NAME="tex2html1744" HREF="node13.html"> +<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> +<A NAME="tex2html1738" HREF="node131.html"> +<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> <A HREF="sun67.html#stardoccontents"><IMG ALIGN="BOTTOM" BORDER="0" + SRC="contents_motif.gif"></A> +<BR> +<B> Next:</B> <A NAME="tex2html1747" HREF="node133.html">SLA_NUT - Nutation Matrix</A> +<BR> +<B>Up:</B> <A NAME="tex2html1745" HREF="node13.html">SUBPROGRAM SPECIFICATIONS</A> +<BR> +<B> Previous:</B> <A NAME="tex2html1739" HREF="node131.html">SLA_MXM - Multiply Matrices</A> +<BR> <HR> <P> +<P><!--End of Navigation Panel--> +<ADDRESS> +<I>SLALIB --- Positional Astronomy Library<BR>Starlink User Note 67<BR>P. T. Wallace<BR>12 October 1999<BR>E-mail:ptw@star.rl.ac.uk</I> +</ADDRESS> +</BODY> +</HTML> |