Using the C++ Math Library    

Selecting a Single Element

Use a scalar index to select a single element from an array. For example,

selects the fifth element of A, the number 5.


 Overview Selecting a Vector