CSPICE_WNELMD determine whether a point is an element of a double
point value which may or may not exist in one of the intervals in
[1,1] = size(point); double = class(point)
window SPICE window containing zero or more intervals.
[2n,1] = size(window); double = class(window)
boolean = cspice_wnelmd( point, window )
A boolean with value true if 'point' exists as an element of
a(i) < point < b(i)
for some interval [ a(i), b(i) ] in 'window', false
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.
% Let 'window' contain the intervals
window = [ [ 1; 3 ]; [ 7; 11 ]; [ 23; 27 ]; ];
% Then the following expressions take the value true.
cspice_wnelmd( 1.0, window )
cspice_wnelmd( 9.0, window )
% and the following expressions take the value false.
cspice_wnelmd( 0.0, window )
cspice_wnelmd( 13.0, window )
cspice_wnelmd( 29.0, window )
For important details concerning this module's function, please refer to
the CSPICE routine wnelmd_c.
-Mice Version 1.0.2, 12-MAR-2012, EDW (JPL), SCK (JPL)
Edited I/O section to conform to NAIF standard for Mice documentation.
"logical" call replaced with "zzmice_logical."
Corrected version ID in 23-JUL-2009 entry, "1.0.0" to "1.0.1."
-Mice Version 1.0.1, 23-JUL-2009, EDW (JPL)
Replaced 'boolean' calls with 'logical' as 'boolean' functionally
-Mice Version 1.0.0, 17-JUL-2007, EDW (JPL)
element of a d.p. window