52 namespace DenseLinAlgPack {
57 class IVector :
public std::valarray<DenseLinAlgPack::size_type> {
115 this->resize(iv.size());
116 std::valarray<DenseLinAlgPack::size_type>::operator=(iv);
125 return operator[](i-1);
133 return const_cast<IVector*
>(
this)->
operator[](i-1);
137 {
return &operator[](0); }
140 {
return &(
const_cast<IVector*
>(
this)->
operator[](0)); }
143 {
return begin() + size(); }
146 {
return begin() + size(); }
const value_type * const_iterator
Teuchos::Ordinal size_type
Typedef for the size type of elements that are used by the library.
Teuchos::Ordinal index_type
Typedef for the index type of elements that are used by the library.
iterator end()
STL iterator.
DenseLinAlgPack::size_type size_type
IVector & operator=(const IVector &)
Resize on assignment.
std::valarray< size_type > valarray
iterator begin()
STL iterator.
DenseLinAlgPack::index_type value_type
reference operator()(size_type i)
1-based element access (range checked if TEUCHOS_DEBUG is defined)
const value_type & const_reference
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)