BEM++
2.0
|
Encapsulation of a vector. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/assembly/vector.hpp>
Public Member Functions | |
Vector (const arma::Col< ValueType > &vec) | |
Construct a Vector from an Armadillo vector. | |
Vector (size_t n) | |
Construct an uninitialized vector of length n . | |
size_t | size () const |
Vector length. | |
void | dump () const |
Write a textual representation of the vector to standard output. | |
arma::Col< ValueType > | asArmadilloVector () const |
Convert the Vector object into an Armadillo vector. | |
Encapsulation of a vector.
If BEM++ is compiled with Trilinos, Vector is implemented by means of Thyra::DefaultSpmdVector; otherwise an Armadillo-based fallback implementation is used.