SofaCr Method

Copies the elements of a 3×3 rotation matrix from one array to another.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Cr(
	double[] r,
	double[] c
)

Parameters

r  Double
An array of 9 elements representing the source 3×3 rotation matrix in row-major order. Must not be null and must have a length of 9.
c  Double
An array of 9 elements that receives the copied rotation matrix. Must not be null and must have a length of 9.

Remarks

This method does not perform validation on the input arrays. Both arrays must be pre-allocated with exactly 9 elements. The method overwrites the contents of the destination array with the values from the source array.

Exceptions

ArgumentNullExceptionThrown if any array parameter is null.
ArgumentExceptionThrown if any array parameter has incorrect length.

Version Information

.NET Standard

Supported in: 2.0

See Also