![]() SourcePro C++ 12.5 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Allows selected elements to be addressed in a vector, without creating a new view. More...
#include <rw/math/mthvecpk.h>
Public Member Functions | |
| RWMathVec< T >::size_type | length () const |
| T & | operator() (int i) |
| T | operator() (int i) const |
| void | operator= (const RWMathVecPick< T > &) |
The RWMathVecPick class allows selected elements to be addressed. Unlike subscripting or slicing, picking does not create a new view.
|
inline |
Return the number of elements in the pick
|
inline |
Returns a reference to the value in the associated RWMathVec stored at the index indicated by the i th element of the RWMathVecPick.
|
inline |
Returns the value in the associated RWMathVec stored at the index indicated by the i th element of the RWMathVecPick.
| void RWMathVecPick< T >::operator= | ( | const RWMathVecPick< T > & | ) |
Assignment operator for RWMathVecPick. The picks must have the same dimensions. The expression:
this = v;
implies thisi = vi
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.