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

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::forsythe (std::size_t n, T alpha=T(1e-10), T lambda=T(0))
 Forsythe matrix: n x n Jordan block with eigenvalue lambda, plus alpha in position (n-1, 0).