Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::MatrixMatrix::Xpetra::Array< typename T > Class Template Reference

Public Types

typedef Teuchos_Ordinal Ordinal
typedef Teuchos_Ordinal Ordinal
typedef Ordinal size_type
typedef Ordinal size_type
typedef Ordinal difference_type
typedef Ordinal difference_type
typedef std::vector< T >::value_type value_type
typedef std::vector< T >::value_type value_type
typedef std::vector< T >::pointer pointer
typedef std::vector< T >::pointer pointer
typedef std::vector< T >::const_pointer const_pointer
typedef std::vector< T >::const_pointer const_pointer
typedef std::vector< T >::reference reference
typedef std::vector< T >::reference reference
typedef std::vector< T >::const_reference const_reference
typedef std::vector< T >::const_reference const_reference
typedef std::vector< T >::allocator_type allocator_type
typedef std::vector< T >::allocator_type allocator_type
typedef std::vector< T >::iterator iterator
typedef std::vector< T >::iterator iterator
typedef std::vector< T >::const_iterator const_iterator
typedef std::vector< T >::const_iterator const_iterator
typedef std::vector< T >::reverse_iterator reverse_iterator
typedef std::vector< T >::reverse_iterator reverse_iterator
typedef std::vector< T >::const_reverse_iterator const_reverse_iterator
typedef std::vector< T >::const_reverse_iterator const_reverse_iterator

Public Member Functions

 Array ()
 Array (size_type n, const value_type &value=value_type())
 Array (const Array< T > &x)
 Array (InputIterator first, InputIterator last)
 Array (const ArrayView< const T > &a)
 Array (const Tuple< T, N > &t)
 Array (std::initializer_list< T > list)
 Array (const std::vector< T > &v)
 Array ()
 Array (size_type n, const value_type &value=value_type())
 Array (const Array< T > &x)
 Array (InputIterator first, InputIterator last)
 Array (const ArrayView< const T > &a)
 Array (const Tuple< T, N > &t)
 Array (std::initializer_list< T > list)
 Array (const std::vector< T > &v)
 ~Array ()
 ~Array ()
Arrayoperator= (const Array< T > &a)
Arrayoperator= (const std::vector< T > &v)
Arrayoperator= (const Array< T > &a)
Arrayoperator= (const std::vector< T > &v)
void assign (size_type n, const value_type &val)
void assign (InputIterator first, InputIterator last)
void assign (size_type n, const value_type &val)
void assign (InputIterator first, InputIterator last)
iterator begin ()
const_iterator begin () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type size () const
size_type max_size () const
size_type max_size () const
void resize (size_type new_size, const value_type &x=value_type())
void resize (size_type new_size, const value_type &x=value_type())
size_type capacity () const
size_type capacity () const
bool empty () const
bool empty () const
void reserve (size_type n)
void reserve (size_type n)
reference operator[] (size_type i)
const_reference operator[] (size_type i) const
reference operator[] (size_type i)
const_reference operator[] (size_type i) const
reference at (size_type i)
const_reference at (size_type i) const
reference at (size_type i)
const_reference at (size_type i) const
reference front ()
const_reference front () const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
reference back ()
const_reference back () const
void push_back (const value_type &x)
void push_back (const value_type &x)
void pop_back ()
void pop_back ()
iterator insert (iterator position, const value_type &x)
void insert (iterator position, size_type n, const value_type &x)
void insert (iterator position, InputIterator first, InputIterator last)
iterator insert (iterator position, const value_type &x)
void insert (iterator position, size_type n, const value_type &x)
void insert (iterator position, InputIterator first, InputIterator last)
iterator erase (iterator position)
iterator erase (iterator first, iterator last)
iterator erase (iterator position)
iterator erase (iterator first, iterator last)
void swap (Array &x)
void swap (Array< T > &a1, Array< T > &a2)
void swap (Array &x)
void clear ()
void clear ()
std::vector< T > toVector () const
std::vector< T > toVector () const
bool operator== (const Array< T > &a1, const Array< T > &a2)
bool operator!= (const Array< T > &a1, const Array< T > &a2)
bool operator< (const Array< T > &a1, const Array< T > &a2)
bool operator<= (const Array< T > &a1, const Array< T > &a2)
bool operator> (const Array< T > &a1, const Array< T > &a2)
bool operator>= (const Array< T > &a1, const Array< T > &a2)
std::ostream & operator<< (std::ostream &os, const Array< T > &array)
int hashCode (const Array< T > &array)
std::vector< T > createVector (const Array< T > &a)
std::string toString (const Array< T > &array)
std::string toString () const
Array< T > fromStringToArray (const std::string &arrayStr)
std::istringstream & operator>> (std::istringstream &in, Array< T > &array)
void extractDataFromISS (std::istringstream &iss, T &data)
void extractDataFromISS (std::istringstream &iss, std::string &data)
std::string getArrayTypeNameTraitsFormat ()
ArrayView< T > view (size_type offset, size_type size)
ArrayView< const T > view (size_type offset, size_type size) const
ArrayView< T > operator() (size_type offset, size_type size)
ArrayView< const T > operator() (size_type offset, size_type size) const
ArrayView< T > operator() ()
ArrayView< const T > operator() () const
 operator ArrayView< T > ()
 operator ArrayView< const T > () const
Array< T > & append (const T &x)
void remove (int i)
int length () const
T * getRawPtr ()
const T * getRawPtr () const
T * data ()
const T * data () const

Static Public Member Functions

static bool hasBoundsChecking ()

Friends

friend void swap (Array< T2 > &a1, Array< T2 > &a2)
friend bool Teuchos::operator== (const Array< T2 > &a1, const Array< T2 > &a2)
friend bool Teuchos::operator!= (const Array< T2 > &a1, const Array< T2 > &a2)
friend bool Teuchos::operator< (const Array< T2 > &a1, const Array< T2 > &a2)
friend bool Teuchos::operator<= (const Array< T2 > &a1, const Array< T2 > &a2)
friend bool Teuchos::operator> (const Array< T2 > &a1, const Array< T2 > &a2)
friend bool Teuchos::operator>= (const Array< T2 > &a1, const Array< T2 > &a2)

The documentation for this class was generated from the following files: