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

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::rosser ()
 Rosser matrix: 8x8 symmetric integer matrix with known eigenvalues, in ascending order: -10*sqrt(10405), 0, 510-100*sqrt(26), 1000, 1000, 510+100*sqrt(26), 1020, 10*sqrt(10405) ~= -1020.0490, 0, 0.0980, 1000, 1000, 1019.9020, 1020, 1020.0490.