sxp

erfa.sxp(s, p)[source]

Multiply a p-vector by a scalar.

Parameters:
sdouble array
pdouble array
Returns:
spdouble array

Notes

Wraps ERFA function eraSxp. The ERFA documentation is:

- - - - - - -
 e r a S x p
- - - - - - -

Multiply a p-vector by a scalar.

Given:
   s      double        scalar
   p      double[3]     p-vector

Returned:
   sp     double[3]     s * p

Note:
   It is permissible for p and sp to be the same array.

This revision:  2021 May 11

Copyright (C) 2013-2023, NumFOCUS Foundation.
Derived, with permission, from the SOFA library.  See notes at end of file.