Reference documentation for deal.II version 9.6.1
 
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
read_write_vector.h File Reference

Go to the source code of this file.

Classes

class  LinearAlgebra::ReadWriteVector< Number >
 
class  LinearAlgebra::ReadWriteVector< Number >::FunctorTemplate< Functor >
 

Namespaces

namespace  LinearAlgebra
 

Function Documentation

◆ swap()

template<typename Number>
void swap ( LinearAlgebra::ReadWriteVector< Number > & u,
LinearAlgebra::ReadWriteVector< Number > & v )
related

Global function swap which overloads the default implementation of the C++ standard library which uses a temporary object. The function simply exchanges the data of the two vectors.

Definition at line 1183 of file read_write_vector.h.