CSPICE_VRELG returns the relative difference between two
double precision N-vectors.
For important details concerning this module's function, please refer to
the CSPICE routine vrelg_c.
vec2 two double precision N-vectors.
diff = cspice_vrel( vec1, vec2 )
diff the scalar double precision relative difference of the
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
vec1 = [ 12.3d , -4.32d , 76.d , 1.87d ]
vec2 = [ 23.0423d, -11.99d, -0.10d, -99.1d ]
diff = cspice_vrelg( vec1, vec2 )
-Icy Version 1.0.1, 13-JUN-2011, EDW (JPL)
Edits to comply with NAIF standard for Icy headers.
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
relative difference of n-dimensional vectors