|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
#include <stdexcept>#include <cstddef>#include <mtl/detail/exceptions.hpp>#include <mtl/vec/dense_vector.hpp>#include <mtl/mat/compressed2D.hpp>#include <mtl/mat/inserter.hpp>#include <mtl/math/identity.hpp>#include <mtl/math/accumulator_traits.hpp>#include <type_traits>Namespaces | |
| namespace | mtl |
| namespace | mtl::itl |
| namespace | mtl::itl::mg |
Functions | |
| mat::compressed2D< double > | mtl::itl::mg::make_prolongation_1d (std::size_t n_coarse) |
| Builds a 1D linear interpolation prolongation matrix (coarse -> fine). | |
| template<typename Accumulator = void, typename Value> | |
| vec::dense_vector< Value > | mtl::itl::mg::prolongate (const mat::compressed2D< Value > &P, const vec::dense_vector< Value > &coarse) |
| Prolongation: interpolate coarse-grid vector to fine grid. | |