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

Namespaces

namespace  mtl
namespace  mtl::generators

Functions

template<typename T = double>
auto mtl::generators::pascal (std::size_t n)
 Pascal matrix: P(i,j) = C(i+j, i) = (i+j)!