|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
#include <cstddef>#include <mtl/math/identity.hpp>#include <mtl/traits/category.hpp>#include <mtl/traits/ashape.hpp>Classes | |
| class | mtl::mat::view::strict_upper_view< Matrix > |
| Non-owning strict upper triangular view: returns zero on and below diagonal. More... | |
| struct | mtl::traits::category< mat::view::strict_upper_view< Matrix > > |
| struct | mtl::ashape::ashape<::mtl::mat::view::strict_upper_view< Matrix > > |
Namespaces | |
| namespace | mtl |
| namespace | mtl::mat |
| namespace | mtl::mat::view |
| namespace | mtl::traits |
| namespace | mtl::ashape |
Functions | |
| template<typename Matrix> | |
| auto | mtl::strict_upper (const Matrix &A) |
| Create a strict upper triangular view (excludes diagonal). | |
| template<typename Matrix> | |
| void | mtl::strict_upper (const Matrix &&)=delete |
| Deleted for an rvalue (#695): the view refers to its matrix, so a view of a temporary dangles once the full expression ends. | |
| template<typename Matrix> | |
| auto | mtl::triu (const Matrix &A, std::ptrdiff_t k=0) |
| MATLAB-compatible triu(A, k): elements on diag k and above. | |
| template<typename Matrix> | |
| void | mtl::triu (const Matrix &&, std::ptrdiff_t=0)=delete |
| Deleted for an rvalue (#695): the view refers to its matrix, so a view of a temporary dangles once the full expression ends. | |