void vequg_c ( ConstSpiceDouble * vin,
SpiceInt ndim,
SpiceDouble * vout )
Make one double precision vector of arbitrary dimension equal
to another.
None.
ASSIGNMENT
VECTOR
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
vin I ndim-dimensional double precision vector.
ndim I Dimension of vin (and also vout).
vout O ndim-dimensional double precision vector set
equal to vin.
vin is a double precision vector of arbitrary dimension.
ndim is the number of components of vin.
vout is a double precision vector set equal to vin.
None.
1) If ndim is not physically realistic, greater than zero, a
BADDIMENSION error is flagged.
None.
The code simply sets each component of vout equal to the
corresponding component of vin.
Let state be a state vector. Set abstat equal to state.
vequg_c ( state, 6, abstate );
Note that this routine may be used in place of MOVED, which
sets each output array element equal to the corresponding
input array element.
None.
None.
W.M. Owen (JPL)
E.D. Wright (JPL)
-CSPICE Version 1.0.0, 23-AUG-1999 (EDW) (NJB)
assign an n-dimensional vector to another
Link to routine vequg_c source file vequg_c.c
|