SofaRz Method
Rotates a 3x3 rotation matrix about the Z-axis by a specified angle.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void Rz(
double psi,
double[] r
)
Public Shared Sub Rz (
psi As Double,
r As Double()
)
Parameters
- psi Double
- The angle of rotation, in radians, to apply about the Z-axis.
- r Double
- A 9-element array representing the 3x3 rotation matrix to be rotated. The matrix is modified in place.
The input array must contain exactly 9 elements, representing the matrix in row-major
order. The method overwrites the contents of the array with the rotated matrix. This function is a wrapper
for the IAU SOFA library's iauRz routine.
Supported in: 2.0