NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
cnr.hpp
Go to the documentation of this file.
1
28
#pragma once
29
30
#include <string>
31
32
#include "
NumCpp/Core/Internal/Error.hpp
"
33
#include "
NumCpp/Core/Types.hpp
"
34
#include "
NumCpp/NdArray.hpp
"
35
#include "
NumCpp/Special/factorial.hpp
"
36
#include "
NumCpp/Special/pnr.hpp
"
37
38
namespace
nc::special
39
{
40
//============================================================================
41
// Method Description:
48
inline
double
cnr
(
uint32
n,
uint32
r)
49
{
50
return
pnr
(n, r) /
factorial
(r);
51
}
52
}
// namespace nc::special
Error.hpp
NdArray.hpp
Types.hpp
factorial.hpp
nc::special
Definition:
airy_ai.hpp:39
nc::special::factorial
double factorial(uint32 inValue)
Definition:
factorial.hpp:49
nc::special::cnr
double cnr(uint32 n, uint32 r)
Definition:
cnr.hpp:48
nc::special::pnr
double pnr(uint32 n, uint32 r)
Definition:
pnr.hpp:48
nc::uint32
std::uint32_t uint32
Definition:
Types.hpp:40
pnr.hpp
include
NumCpp
Special
cnr.hpp
Generated by
1.9.4