SofaPpsp Method

Add a scaled 3D vector to another 3D vector.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Ppsp(
	double[] a,
	double s,
	double[] b,
	double[] apsb
)

Parameters

a  Double
First vector (length 3).
s  Double
Scale factor applied to b.
b  Double
Second vector (length 3).
apsb  Double
Returned vector a + s*b (length 3).

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