SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
A base class for mathematical vector classes. More...
#include <rw/vector.h>
Public Member Functions | |
size_t | length () const |
int | stride () const |
A base class for vector classes.
size_t RWVecView::length | ( | ) | const [inline] |
Returns the number of elements in the vector.
Reimplemented in RWMathVec< T >, RWMathVec< typename rw_numeric_traits< TypeT >::norm_type >, RWMathVec< rw_lapack_int_t >, RWMathVec< double >, RWMathVec< rt >, RWMathVec< S >, RWMathVec< int >, RWMathVec< ret_type >, RWMathVec< TypeT >, RWMathVec< RWPivotType >, RWMathVec< size_t >, RWMathVec< DComplex >, RWMathVec< norm_type >, RWMathVec< To >, and RWMathVec< bool >.
int RWVecView::stride | ( | ) | const [inline] |
Returns the distance between successive elements of the vector. The stride can be computed using &v
[i+1]-&v[i].
Reimplemented in RWMathVec< T >, RWMathVec< typename rw_numeric_traits< TypeT >::norm_type >, RWMathVec< rw_lapack_int_t >, RWMathVec< double >, RWMathVec< rt >, RWMathVec< S >, RWMathVec< int >, RWMathVec< ret_type >, RWMathVec< TypeT >, RWMathVec< RWPivotType >, RWMathVec< size_t >, RWMathVec< DComplex >, RWMathVec< norm_type >, RWMathVec< To >, and RWMathVec< bool >.
© 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.
Contact Rogue Wave about documentation or support issues.