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

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::vandermonde (const std::vector< T > &nodes)
 Vandermonde matrix: V(i,j) = nodes[i]^j.