Index Page
cspice_wnelmd
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_WNELMD determine whether a point is an element of a double
   precision window.

I/O


   Given:

      point    value which may or may not exist in one of the intervals in
               window.

               [1,1] = size(point); double = class(point)

      window   SPICE window containing zero or more intervals.

               [2n,1] = size(window); double = class(window)

   the call:

      boolean = cspice_wnelmd( point, window )

   returns:

      A boolean with value true if 'point' exists as an element of
      'window'.

         a(i)  <  point  <  b(i)
               -         -

      for some interval [ a(i), b(i) ] in 'window', false
      otherwise.

Examples


   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 )

Particulars


   None.

Required Reading


   For important details concerning this module's function, please refer to
   the CSPICE routine wnelmd_c.

   MICE.REQ
   WINDOWS.REQ

Version


   -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
      aliases 'logical'.

   -Mice Version 1.0.0, 17-JUL-2007, EDW (JPL)

Index_Entries


   element of a d.p. window


Wed Apr  5 18:00:36 2017