Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
binomial.hpp File Reference
#include <iostream>

Namespaces

namespace  sw
 required std libraries
namespace  sw::math
namespace  sw::math::function

Functions

template<typename IntegerType>
IntegerType sw::math::function::gcd (IntegerType a, IntegerType b)
template<typename Vector>
Vector::value_type sw::math::function::findlcm (const Vector &v)
template<typename Scalar>
Scalar sw::math::function::binomial (const Scalar &n, const Scalar &k)