MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
permutation_matrix.hpp File Reference
#include <cstddef>
#include <vector>
#include <cassert>
#include <algorithm>
#include <initializer_list>
#include <numeric>
#include <stdexcept>
#include <type_traits>
#include <mtl/config.hpp>
#include <mtl/detail/exceptions.hpp>
#include <mtl/math/identity.hpp>
#include <mtl/tag/sparsity.hpp>
#include <mtl/traits/category.hpp>
#include <mtl/traits/ashape.hpp>
#include <mtl/vec/dense_vector.hpp>

Classes

class  mtl::mat::permutation_matrix< Value >
 Implicit permutation matrix – stores only perm vector, O(n) storage. More...
struct  mtl::traits::category< mat::permutation_matrix< Value > >
struct  mtl::ashape::ashape<::mtl::mat::permutation_matrix< Value > >
class  mtl::permutation_matrix< Value >
 Implicit permutation matrix – stores only perm vector, O(n) storage. More...

Namespaces

namespace  mtl
namespace  mtl::mat
namespace  mtl::traits
namespace  mtl::ashape

Functions

template<typename Value, typename VV, typename VP>
auto mtl::mat::operator* (const permutation_matrix< Value > &P, const vec::dense_vector< VV, VP > &x)