Dummy vector class for concept checks and testing. Implements required vector operations as no-ops. More...
#include <vector.hpp>
Public Types | |
| using | ScalarType = ScalarT |
| Scalar type used by the vector. | |
Public Member Functions | |
| void | lincomb_impl (const std::vector< ScalarType > &c, const std::vector< DummyVector > &x, const ScalarType c0) |
| Dummy implementation of linear combination. | |
| ScalarType | dot_impl (const DummyVector &x) const |
| Dummy implementation of dot product. | |
| void | invert_entries_impl () |
| Dummy implementation of invert entries. | |
| void | scale_with_vector_impl (const DummyVector &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 (DummyVector< ScalarType > &other) |
| Dummy implementation of swap. | |
Dummy vector class for concept checks and testing. Implements required vector operations as no-ops.
| using terra::linalg::detail::DummyVector< ScalarT >::ScalarType = ScalarT |
Scalar type used by the vector.
|
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.