NumCpp  2.18.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
cnr.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#include "NumCpp/Core/Types.hpp"
31#include "NumCpp/NdArray.hpp"
34
35namespace nc::special
36{
37 //============================================================================
38 // Method Description:
45 inline double cnr(uint32 n, uint32 r)
46 {
47 return pnr(n, r) / factorial(r);
48 }
49} // namespace nc::special
Definition airy_ai.hpp:39
double factorial(uint32 inValue)
Definition factorial.hpp:49
double cnr(uint32 n, uint32 r)
Definition cnr.hpp:45
double pnr(uint32 n, uint32 r)
Definition pnr.hpp:48
std::uint32_t uint32
Definition Types.hpp:40