Using the C Math Library    

Logical Indexing

This section:


 Extending Two-Dimensional Indexing to N Dimensions Overview