NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG FL Interface Introduction
Example description

 M01NDF Example Program Results

 Vector to be searched is:
     0.5    0.6    1.1    1.2    1.3    1.4    2.1    2.3
     2.4    4.1    5.8    5.9    6.5    6.6    8.6    9.9


 Example 1

 Search for item     2.1 returned index:    7
 Search for item     0.4 returned index:    0
 Search for item     7.1 returned index:   14
 Search for item    10.0 returned index:   16


 Example 2

 Search for item     2.1 returned index:    7
 Search for item     0.4 returned index:    0
 Search for item     7.1 returned index:   14
 Search for item    10.0 returned index:   16