MOOCHO (Single Doxygen Collection)
Version of the Day
|
#include <DenseLinAlgPack_DVectorClassTmpl.hpp>
Public Types | |
typedef T | value_type |
typedef DenseLinAlgPack::size_type | size_type |
typedef ptrdiff_t | difference_type |
typedef value_type * | iterator |
typedef const value_type * | const_iterator |
typedef std::reverse_iterator < iterator > | reverse_iterator |
typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef std::vector< value_type > | valarray |
Private Attributes | |
valarray | v_ |
VectorTmpl () | |
Constructs a vector with 0 elements (this->dim()==0). More... | |
VectorTmpl (size_type n) | |
Constructs a vector with n elements of initialized memory. More... | |
VectorTmpl (value_type val, size_type n) | |
Constructs a vector with n elements initialized to val. More... | |
VectorTmpl (const value_type *p, size_type n) | |
VectorTmpl (const VectorSliceTmpl< value_type > &vs) | |
void | resize (size_type n, value_type val=value_type()) |
void | free () |
size_type | dim () const |
Returns the number of elements of the DVector. More... | |
EOverLap | overlap (const VectorSliceTmpl< value_type > &vs) const |
operator VectorSliceTmpl< value_type > () | |
Conversion operator for implicit conversions from DVector to VectorSliceTmpl. More... | |
operator const VectorSliceTmpl< value_type > () const | |
Conversion operator for implicit conversions from const DVector to const VectorSliceTmpl. More... | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
reference | operator() (size_type i) |
1-based element access (lvalue) More... | |
const_reference | operator() (size_type i) const |
1-based element access (rvalue) More... | |
reference | operator[] (size_type i) |
1-based element access (lvalue) More... | |
const_reference | operator[] (size_type i) const |
0-based element access (rvalue) More... | |
VectorSliceTmpl< value_type > | operator() () |
const VectorSliceTmpl< value_type > | operator() () const |
Same as above. More... | |
VectorSliceTmpl< value_type > | operator() (const Range1D &rng) |
const VectorSliceTmpl< value_type > | operator() (const Range1D &rng) const |
Same as above. More... | |
VectorSliceTmpl< value_type > | operator() (size_type lbound, size_type ubound) |
const VectorSliceTmpl< value_type > | operator() (size_type lbound, size_type ubound) const |
Same as above. More... | |
VectorSliceTmpl< value_type > | rev () |
const VectorSliceTmpl< value_type > | rev () const |
Same as above. More... | |
VectorTmpl< value_type > & | operator= (value_type alpha) |
VectorTmpl< value_type > & | operator= (const VectorSliceTmpl< value_type > &rhs) |
VectorTmpl< value_type > & | operator= (const VectorTmpl< value_type > &rhs) |
value_type * | raw_ptr () |
Return a pointer to the address of the first memory location of underlying array. More... | |
const value_type * | raw_ptr () const |
value_type * | start_ptr () |
Return a pointer to the conceptual first element in the underlying array. More... | |
const value_type * | start_ptr () const |
difference_type | stride () const |
Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array. More... | |
Definition at line 452 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef T DenseLinAlgPack::VectorTmpl< T >::value_type |
Definition at line 474 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef DenseLinAlgPack::size_type DenseLinAlgPack::VectorTmpl< T >::size_type |
Definition at line 475 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef ptrdiff_t DenseLinAlgPack::VectorTmpl< T >::difference_type |
Definition at line 476 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef value_type* DenseLinAlgPack::VectorTmpl< T >::iterator |
Definition at line 477 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef const value_type* DenseLinAlgPack::VectorTmpl< T >::const_iterator |
Definition at line 478 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef std::reverse_iterator<iterator> DenseLinAlgPack::VectorTmpl< T >::reverse_iterator |
Definition at line 486 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef std::reverse_iterator<const_iterator> DenseLinAlgPack::VectorTmpl< T >::const_reverse_iterator |
Definition at line 487 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef value_type& DenseLinAlgPack::VectorTmpl< T >::reference |
Definition at line 489 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef const value_type& DenseLinAlgPack::VectorTmpl< T >::const_reference |
Definition at line 490 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
typedef std::vector<value_type> DenseLinAlgPack::VectorTmpl< T >::valarray |
Definition at line 491 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Constructs a vector with 0 elements (this->dim()==0).
Definition at line 1059 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Constructs a vector with n elements of initialized memory.
Definition at line 1064 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Constructs a vector with n elements initialized to val.
Definition at line 1070 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1078 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1086 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1095 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1103 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Returns the number of elements of the DVector.
Definition at line 1111 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
EOverLap DenseLinAlgPack::VectorTmpl< T >::overlap | ( | const VectorSliceTmpl< value_type > & | vs | ) | const |
Definition at line 1415 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
DenseLinAlgPack::VectorTmpl< T >::operator VectorSliceTmpl< value_type > | ( | ) |
Conversion operator for implicit conversions from DVector to VectorSliceTmpl.
DenseLinAlgPack::VectorTmpl< T >::operator const VectorSliceTmpl< value_type > | ( | ) | const |
Conversion operator for implicit conversions from const DVector to const VectorSliceTmpl.
|
inline |
Definition at line 1117 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1122 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1127 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1132 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1137 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1142 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1147 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1152 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
1-based element access (lvalue)
Definition at line 1158 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
1-based element access (rvalue)
Definition at line 1166 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
1-based element access (lvalue)
Definition at line 1174 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
0-based element access (rvalue)
Definition at line 1182 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1191 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Same as above.
Definition at line 1196 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1201 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Same as above.
Definition at line 1206 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1211 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Same as above.
Definition at line 1216 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1221 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Same as above.
Definition at line 1226 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1243 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1261 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1252 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Return a pointer to the address of the first memory location of underlying array.
Definition at line 1272 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1277 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Return a pointer to the conceptual first element in the underlying array.
Definition at line 1282 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Definition at line 1287 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
inline |
Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array.
Definition at line 1292 of file DenseLinAlgPack_DVectorClassTmpl.hpp.
|
private |
Definition at line 746 of file DenseLinAlgPack_DVectorClassTmpl.hpp.