Implements a (mathematical) vector in the mathematical sense, which is stored locally, i.e., not distributed across different processors.
More...
#include <local_vector.hpp>
|
|
using | Number = N |
| |
|
using | Real = real_part_t< Number > |
| |
|
using | EigenVector = Eigen::Matrix< N, Eigen::Dynamic, 1 > |
| |
|
using | Number = N |
| |
|
using | Real = real_part_t< Number > |
| |
|
using | DerivedType = Derived |
| |
|
|
| LocalVector (size_t rows) |
| |
|
| LocalVector (std::initializer_list< N > entries) |
| |
|
| LocalVector (const EigenVector &v) |
| |
|
LocalVector & | operator+= (const LocalVector &rhs) |
| |
|
LocalVector & | operator*= (Number rhs) |
| |
|
Number | dot (const LocalVector &rhs) const |
| |
|
Number & | operator[] (size_t i_element) |
| |
|
Number | operator[] (size_t i_element) const |
| |
| size_t | rows () const |
| |
|
size_t | nrows () const |
| |
|
const EigenVector & | native () const |
| |
|
LocalVector< N > & | operator-= (const Other &other) |
| |
|
LocalVector< N > & | operator/= (Number divisor) |
| |
|
LocalVector< N > | operator+ (const Other &rhs) const |
| |
|
LocalVector< N > | operator- (const Other &rhs) const |
| |
|
LocalVector< N > | operator* (Number factor) const |
| |
|
LocalVector< N > | operator/ (Number divisor) const |
| |
template<typename N>
class allium::LocalVector< N >
Implements a (mathematical) vector in the mathematical sense, which is stored locally, i.e., not distributed across different processors.
◆ constant()
Return a vector whose entries are all equal.
- Parameters
-
| [in] | x | The value of the entries. |
◆ rows()
The length of the vector.
The documentation for this class was generated from the following file: