Dummy block 2-vector class for concept checks and testing. Contains two DummyVector blocks. More...
#include <vector.hpp>
Public Types | |
| using | ScalarType = ScalarT |
| Scalar type used by the block vector. | |
| using | Block1Type = DummyVector< ScalarType > |
| Type of the first block. | |
| using | Block2Type = DummyVector< ScalarType > |
| Type of the second block. | |
Public Member Functions | |
| void | lincomb_impl (const std::vector< ScalarType > &c, const std::vector< DummyBlock2Vector > &x, const ScalarType c0) |
| Dummy implementation of linear combination. | |
| ScalarType | dot_impl (const DummyBlock2Vector &x) const |
| Dummy implementation of dot product. | |
| void | invert_entries_impl () |
| Dummy implementation of invert entries. | |
| void | scale_with_vector_impl (const DummyBlock2Vector &x) |
| Dummy implementation of scale with vector. | |
| void | randomize_impl () |
| Dummy implementation of randomize. | |
| ScalarType | max_abs_entry_impl () const |
| Dummy implementation of max absolute entry. | |
| bool | has_nan_or_inf_impl () const |
| Dummy implementation of NaN check. | |
| void | swap_impl (DummyBlock2Vector &other) |
| Dummy implementation of swap. | |
| const DummyVector< ScalarType > & | block_1 () const |
| Get const reference to block 1. | |
| const DummyVector< ScalarType > & | block_2 () const |
| Get const reference to block 2. | |
| DummyVector< ScalarType > & | block_1 () |
| Get mutable reference to block 1. | |
| DummyVector< ScalarType > & | block_2 () |
| Get mutable reference to block 2. | |
Dummy block 2-vector class for concept checks and testing. Contains two DummyVector blocks.
| using terra::linalg::detail::DummyBlock2Vector< ScalarT >::Block1Type = DummyVector< ScalarType > |
Type of the first block.
| using terra::linalg::detail::DummyBlock2Vector< ScalarT >::Block2Type = DummyVector< ScalarType > |
Type of the second block.
| using terra::linalg::detail::DummyBlock2Vector< ScalarT >::ScalarType = ScalarT |
Scalar type used by the block vector.
|
inline |
Get mutable reference to block 1.
|
inline |
Get const reference to block 1.
|
inline |
Get mutable reference to block 2.
|
inline |
Get const reference to block 2.
|
inline |
Dummy implementation of dot product.
|
inline |
Dummy implementation of NaN check.
|
inline |
Dummy implementation of invert entries.
|
inline |
Dummy implementation of linear combination.
|
inline |
Dummy implementation of max absolute entry.
|
inline |
Dummy implementation of randomize.
|
inline |
Dummy implementation of scale with vector.
|
inline |
Dummy implementation of swap.