MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
frank.hpp File Reference
#include <cstddef>
#include <mtl/mat/dense2D.hpp>

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::frank (std::size_t n)
 Frank matrix: upper Hessenberg with F(i,j) = n+1-max(i+1,j+1) for j >= i-1, zero below the sub-diagonal.